## Number of ways to convert a character X to a string Y

Given a character X and a string Y of length N and the task is to find the number of ways to convert X to… Read More »

- Split the given string into Primes : Digit DP
- Print all possible combinations of the string by replacing '$' with any other digit from the string
- Check if a string is a scrambled form of another string
- Count the number of ways to construct the target string
- Check if given words are present in a string
- Kth most frequent Character in a given String
- Sort a string according to the frequency of characters
- Count of substrings of length K with exactly K distinct characters
- Program to reverse words in a given string in C++
- Find lexicographically smallest string in at most one swaps
- What is a Webcrawler and where is it used?
- Check if given Parentheses expression is balanced or not
- CamelCase Pattern Matching
- Justify the given Text based on the given width of each line
- Digital Root of a given large integer using Recursion
- Count minimum swap to make string palindrome
- Length of the smallest substring which contains all vowels
- Check if the given string is shuffled substring of another string
- Count ways to partition a string such that both parts have equal distinct characters
- Shortest Palindromic Substring
- Java program to print Even length words in a String
- Remove odd frequency characters from the string
- Convert Character Array To String In Java
- Calculate the frequency of each word in the given string
- Sort the strings based on the numbers of matchsticks required to represent them
- Move all occurence of letter 'x' from the string s to the end using Recursion
- Sort an array of Strings according frequency
- Longest Palindrome in a String formed by concatenating its prefix and suffix
- Processing strings using std::istringstream
- Bitwise XOR of a Binary array

Given a character X and a string Y of length N and the task is to find the number of ways to convert X to… Read More »

Given a string str of length L and an integer N, the task is to form a total of (L / N) contiguous subsegments of… Read More »

Given a binary tree in such a way such that the level order traversal of a binary tree produces a string S. The task is… Read More »

Given a string str, the task is to print the frequency of each of the characters of str in alphabetical order. Example: Input: str =… Read More »

Given the number of rows R and the number of columns C, the task is to print a doormat pattern as shown in the examples… Read More »

Given two integers M and N the task is to find the number formed by concatenating the binary equivalents of M and N i.e. M… Read More »

Given a binary string str of length N, the task is to find the count of substrings of str which are divisible by 2. Leading… Read More »

Given a binary string S of length N and an integer K, the task is to find the smallest non-zero sub-string of S that can… Read More »

Given a string str and an integer K, the task is to print the length of the longest possible substring that has exactly K unique… Read More »

Given two binary string of unequal lengths A and B, the task is to print the binary string which is the XOR of A and… Read More »

Given a binary string str of length N, the task is to find the longest sub-string divisible by 2. If no such sub-string exists then… Read More »

Given a binary string str of length N, the task is to find the count of subsequences of str which are divisible by 2. Leading… Read More »

Given two strings X and Y containing lower-case alphabets, the task is to check whether any permutation of string X exists in Y as its… Read More »

Given a string str that consists of lower case English letters and brackets. The task is to reverse the substrings in each pair of matching… Read More »

Given a tree with N nodes and N – 1 edges. Each edge of the tree is labeled by a string of lowercase english alphabets.… Read More »