## Validation of Equation Given as String

Given a string in the form of an equation i.e A + B + C – D = E where A, B, C, D and… Read More »

- Minimum number of swaps required to sort an array | Set 2
- How to return multiple values from a function in C or C++?
- 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
- Program to print Step Pattern
- Iterative Letter Combinations of a Phone Number
- Smallest Pair Sum in an array
- Sum of nodes at maximum depth of a Binary Tree | Set 2
- Find the Nth term of the series 14, 28, 20, 40,.....
- Zig-Zag traversal of a Binary Tree using Recursion
- Shortest path on a Square
- CSV file management using C++
- Coloring a Cycle Graph
- Program to print the given Z Pattern
- Split a string in equal parts such that all parts are palindromes
- Clockwise Spiral Traversal of Binary Tree
- 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
- Sum of Bitwise-OR of all subarrays of a given Array | Set 2
- Program to print Kite Pattern
- C/C++ program to make a simple calculator
- Nested switch statement in C++

Given a string in the form of an equation i.e A + B + C – D = E where A, B, C, D and… Read More »

Given 9 elements in a 3 x 3 matrix where the value of diagonals are 0. We need to find the values in diagonal to… Read More »

Given a root node to a tree, find the sum of all the leaf nodes which are at maximum depth from root node. Example: 1… Read More »

Given here are two positive numbers a and b. The task is to print the least common multiple of a’th and b’th Fibonacci Numbers. The… Read More »

Given an array arr[] of N integers, the task is to find an element x from the array such that |arr[0] – x| + |arr[1]… Read More »

Given a string str, the task is to count all the sub-strings of str which are palindromes and their length is prime. Examples: Input: str… Read More »

We use Exception Handling to overcome exceptions occurred in execution of a program in a systematic manner. Dividing a number by Zero is a mathematical… Read More »

Given here is a frustum of height h, top-radius r & base-radius R, which inscribes a right circular cylinder which in turn inscribes a sphere… Read More »

In normal median, we find a point that has minimum sum of distances. Similar concept applies in 2-D space. Given N points in 2-D space,… Read More »

Given N vertex where N is even. Initially there is no edge between any of the vertices. You are allowed to perform operation as illustrated… Read More »

Given a N x M matrix which represents the number of rows and number of columns respectively. Each cell of a matrix is occupied by… Read More »

Given an integer N, the task is to generate N non repeating random numbers. Examples: Input: N = 5 Output: 1 5 2 4 3… Read More »

Given an integer K and a matrix of N rows and M columns, the task is to find the minimum number of operations required to… Read More »

Given an ellipse with major axis length and minor axis 2a & 2b respectively which inscribes a square which in turn inscribes a reuleaux triangle.… Read More »

Given a NxN matrix and an integer X. The task is to remove X rows and X columns from the NxN matrix. Remove first X… Read More »