## Find the Nth term of the series 14, 28, 20, 40,…..

Given a number . The task is to find the N-th term in the following series: 14, 28, 20, 40, 32, 64….. Examples: Input :… Read More »

- Minimum number of swaps required to sort an array | Set 2
- Reach the numbers by making jumps of two given lengths
- Sets of pairs in C++
- Reverse middle words of a string
- Program for Deadlock free condition in Operating System
- C++ Program to concatenate two strings using Operator Overloading
- Number of pairs whose sum is a power of 2
- Iterative Letter Combinations of a Phone Number
- Program to print Step Pattern
- Smallest Pair Sum in an array
- Zig-Zag traversal of a Binary Tree using Recursion
- Sum of nodes at maximum depth of a Binary Tree | Set 2
- Find the Nth term of the series 14, 28, 20, 40,.....
- CSV file management using C++
- Shortest path on a Square
- Coloring a Cycle Graph
- Clockwise Spiral Traversal of Binary Tree
- Program to print the given Z Pattern
- Split a string in equal parts such that all parts are palindromes
- User defined derived data types in C++
- Passing and Returning Objects in C++
- How to delete last element from a set in C++
- multiset erase() in C++ STL
- Find the element having different frequency than other array elements
- MakeFile in C++ and its applications
- C/C++ program to make a simple calculator
- Find Maximum and Minimum element in a Set in C++ STL
- Sum of Bitwise-OR of all subarrays of a given Array | Set 2
- Program to print Kite Pattern
- Nested switch statement in C++

Given a number . The task is to find the N-th term in the following series: 14, 28, 20, 40, 32, 64….. Examples: Input :… Read More »

Given an N*N matrix. The task is to convert the elements of diagonal of a matrix to 0. Examples: Input: mat[][] = {{ 2, 1,… Read More »

Given a right circular cylinder of radius and height . The task is to find the radius of the biggest sphere that can be inscribed… Read More »

Given a sphere of radius . The task is to find volume of the biggest right circular cylinder that can be inscribed within it. Examples:… Read More »

Given a right circular cylinder of height , & radius . The task is to find the length of the longest rod that can be… Read More »

CSV is a simple file format used to store tabular data such as a spreadsheet or a database. CSV stands for Comma Separated Values. The… Read More »

Given a string of lowercase English alphabets. The task is to check if the count of distinct characters in the string is prime or not.… Read More »

Given an integer and two integer arrays H[] and C[] of size where H[] stores the height of consecutive buildings and C[] stores the color… Read More »

Given two arrays div and rem which hold the values for divisors and remainders, the task is to find the number which after being successively… Read More »

Given and denoting that the Cost Price of N articles is equal to the Selling Price of M articles. The task is to determine the… Read More »

Given an integer N, where . The task is to print the count of pieces of a circle with N cuts where each cut passes… Read More »

Given a string, the task is to count the number of words whose sum of Ascii values is less than and greater than or equal… Read More »

Given the number of lines as N, the task is to form the given hollow Triangle pattern. Examples: Input: N = 6 Output: ************ *****… Read More »

Given an array with N distinct elements. The task is to find the minimum number of elements to be changed in the array such that,… Read More »

Pre-requisite: Operator Overloading in C++ Given two strings. The task is to concatenate the two strings using Operator Overloading in C++. Example: Input: str1 =… Read More »