## Count of sub-strings that are divisible by K

Given an integer K and a numeric string str (all the characters are from the range [‘0’, ‘9’]). The task is to count the number… Read More »

- Reach the numbers by making jumps of two given lengths
- Sets of pairs in C++
- Reverse middle words of a string
- C++ Program to concatenate two strings using Operator Overloading
- Iterative Letter Combinations of a Phone Number
- Number of pairs whose sum is a power of 2
- Zig-Zag traversal of a Binary Tree using Recursion
- Smallest Pair Sum in an array
- CSV file management using C++
- Program to print Step Pattern
- Find the Nth term of the series 14, 28, 20, 40,.....
- Sum of nodes at maximum depth of a Binary Tree | Set 2
- Clockwise Spiral Traversal of Binary Tree
- Passing and Returning Objects in C++
- Shortest path on a Square
- Program to print the given Z Pattern
- Split a string in equal parts such that all parts are palindromes
- Find Maximum and Minimum element in a Set in C++ STL
- multiset erase() in C++ STL
- MakeFile in C++ and its applications
- How to delete last element from a set in C++
- Iterative Boundary traversal of Complete Binary tree
- Find the element having different frequency than other array elements
- Sum of Bitwise-OR of all subarrays of a given Array | Set 2
- Sum of minimum elements of all possible sub-arrays of an array
- Finding Floor and Ceil of a Sorted Array using C++ STL
- C++ Program to swap two members using Friend Function
- Importance of macros in C++
- Array element with minimum sum of absolute differences
- Find maximum among all right nodes in Binary Tree

Given an integer K and a numeric string str (all the characters are from the range [‘0’, ‘9’]). The task is to count the number… Read More »

Given a regular hexagon of side length a which inscribes a square which in turn inscribes a reuleaux triangle. The task is to find the… Read More »

Given a complete binary tree, traverse it such that all the boundary nodes are visited in Anti-Clockwise order starting from the root. Example: Input: 18… Read More »

Given an integer X and a square matrix mat[][], the task is to remove the first X rows and columns from the given matrix and… Read More »

Given a Character matrix as input, the task is to check whether all the enemies are killed or not based on below conditions: 1. The… Read More »

Given sides of four small squares. You have to find the side of the smallest square such that it can contain all given 4 squares… Read More »

Given a matrix mat[][] containing the characters Z, P and * where Z is a zombie, P is a plant and * is a bare… Read More »

Given a String of three Colours(G, B, Y) as input, the task is to print the resultant combined colour formed according to the rule given… Read More »

Given a Singly Linked List. The task is to check if the absolute difference between the consecutive nodes in the linked list is 1 or… Read More »

Given here is a semicircle of radius r which inscribes a square which in turn inscribes a reuleaux triangle. The task is to find the… Read More »

Given here is an equilateral triangle of sidelength a which inscribes a square which in turn inscribes a reuleaux triangle. The task is to find… Read More »

Given a sorted array, the task is to find the floor and ceil of given numbers using STL. Examples: Input: arr[] = {1, 2, 4,… Read More »

Given LinkedList, replace each node’s value with its surpasser count. That is the count of elements which are greater towards its right. Examples: Input :… Read More »

Given a Binary Tree. The task is to print the circular clockwise spiral order traversal of the given binary tree. For the above binary tree,… Read More »

Given a Natural number N and a whole number L, the task is to find the count of numbers, smaller than or equal to N,… Read More »