Skip to content

Category Archives: Combinatorial

Given an array speed[] of size N denoting the speed of N cars moving on an infinitely long single lane road (i.e. no overtaking is… Read More
Given an integer N which depicts the number of stairs, the task is to count the number of ways to reach Nth stair by taking… Read More
Given a n × m binary matrix, count the number of sets where a set can be formed one or more same values in a… Read More
Given a n × m binary matrix, count the number of sets where a set can be formed one or more same values in a… Read More
Given a n × m binary matrix, count the number of sets where a set can be formed one or more same values in a… Read More
Given a n × m binary matrix, count the number of sets where a set can be formed one or more same values in a… Read More
Given a n × m binary matrix, count the number of sets where a set can be formed one or more same values in a… Read More
Given a numeric string S, the task is to find the maximum length of a subsequence having its left rotation equal to its right rotation.… Read More
Given a numeric string S, the task is to find the maximum length of a subsequence having its left rotation equal to its right rotation.… Read More
Given a numeric string S, the task is to find the maximum length of a subsequence having its left rotation equal to its right rotation.… Read More
Given an array arr[] and an integer N, the task is to find the maximum number of pairs that can be formed such that ith… Read More
Given a number N, the task is to count all the rotations of the given number which are divisible by 10.Examples:   Input: N = 10203 Output:… Read More
Given a number N, the task is to count all the rotations of the given number which are divisible by 10.Examples:   Input: N = 10203 Output:… Read More
Given a number N, the task is to count all the rotations of the given number which are divisible by 10.Examples:   Input: N = 10203 Output:… Read More
Given a number N, the task is to count all the rotations of the given number which are divisible by 10.Examples:   Input: N = 10203 Output:… Read More

Start Your Coding Journey Now!