## Longest Ordered Subsequence of Vowels

Given a string consisting of only vowels, find the longest subsequence in the given string such that it consists of all five vowels and is… Read More »

- Backtracking | Introduction
- Recursively Reversing a linked list (A simple implementation)
- Modular exponentiation (Recursive)
- Check if a word exists in a grid or not
- How will you print numbers from 1 to 100 without using loop? | Set-2
- Count ways to reach a score using 1 and 2 with no consecutive 2s
- Program to check if an array is palindrome or not using Recursion
- Reduce a number to 1 by performing given operations
- Water Jug Problem using Memoization
- Generating subarrays using recursion
- Recursive program to print all subsets with given sum
- Count all possible position that can be reached by Modified Knight
- Printing all subsets of {1,2,3,...n} without using array or loop
- Find Nth term (A matrix exponentiation example)
- Number of Binary Strings of length N with K adjacent Set Bits
- Print all the combinations of a string in lexicographical order
- Count of Numbers in a Range divisible by m and having digit d in even positions
- Count all Grandparent-Parent-Child Triplets in a binary tree whose sum is greater than X
- Longest Ordered Subsequence of Vowels
- Generating all possible Subsequences using Recursion
- Number of handshakes such that a person shakes hands only once
- Maximum length of segments of 0's and 1's
- Count Unary Numbers in a Range
- Check whether the two Binary Search Trees are Identical or Not
- Number of balanced bracket expressions that can be formed from a string
- Check if item can be measured using a scale and some weights
- Java 8 | Arrays parallelSort() method with Examples
- Product of 2 numbers using recursion | Set 2
- Print all subsequences of a string using ArrayList
- Print all paths from top left to bottom right in a matrix with four moves allowed

Given a string consisting of only vowels, find the longest subsequence in the given string such that it consists of all five vowels and is… Read More »

Given and . The task is to find the number of binary strings of length n out of 2n such that they satisfy f(bit string)… Read More »

Given some weights of masses a0, a1, a2, …, a100, a being an integer, and a weighing scale where weights can be put on both… Read More »

Given a K-ary tree, where each node is having K children and each edge has some weight. All the edges i.e. K, that goes from… Read More »

Given a string str comprising of characters (, ), {, }, [, ] and ?. The task is to find the total number of balanced… Read More »

Given three integers N, A and B, the task is to find whether N can be represented as sum of A’s and B’s. Examples: Input:… Read More »

Given three integers N, A and B, the task is to find whether N is divisible by any number that contains only A and B… Read More »

Given integers i, j, k and n where (i, j) is the initial position of the Knight on a n * n chessboard, the task… Read More »

Given a string, find minimum no of swaps(not necessarily adjacent) to convert it into a string which have similar characters side by side. Examples: Input… Read More »

A cricket player has to score N runs, with condition he can take either 1 or 2 runs only and consecutive runs should not be… Read More »

Given two numbers A and B, A<=B, the task is to find the number of unary numbers between A and B, both inclusive. Unary Number:… Read More »

Given a natural number n, print all the subsets of the set without using any array or loop (only the use of recursion is allowed).… Read More »

Given n companies and m oil mines having values, the task is to distribute the mines among n companies in a fair manner. That is… Read More »

Given a chessboard of size 8 x 8 and the current position of Mirandote. All the rules of this chess game are same but the… Read More »

Given the root nodes of the two binary search trees. The task is to print 1 if the two Binary Search Trees are identical else… Read More »