# 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