## Minimum number of substrings the given string can be splitted into that satisfy the given conditions

Given a string str and a string array arr[], the task is to find the minimum count of substrings this can be splitted into such… Read More »

- Count substrings that contain all vowels | SET 2
- Minimum number of times A has to be repeated such that B is a substring of it
- Distinct palindromic sub-strings of the given string using Dynamic Programming
- Largest substring with same Characters
- Count of substrings which contains a given character K times
- Minimum number of sub-strings of a string such that all are power of 5
- Number of sub-strings that contain the given character exactly k times
- Maximum length palindromic substring such that it starts and ends with given char
- Queries to check if string B exists as substring in string A
- Find distinct characters in distinct substrings of a string
- Length of the longest substring that do not contain any palindrome
- Count number of distinct substrings of a given length
- Maximum number of given operations to remove the entire string
- Queries to find the first non-repeating character in the sub-string of a string
- Maximum String Partition
- Number of substrings that start with "geeks" and end with "for"
- Number of balanced parenthesis substrings
- Check whether given string can be generated after concatenating given strings
- Queries to find the last non-repeating character in the sub-string of a given string
- Check if string can be made lexicographically smaller by reversing any substring
- Count number of substrings of a string consisting of same characters
- Count all substrings having character K
- Count of non-overlapping sub-strings "101" and "010" in the given binary string
- Frequency of a substring in a string using pthread
- Rearrange given string to maximize the occurrence of string t
- Longest sub string of 0's in a binary string which is repeated K times
- Minimum number of substrings the given string can be splitted into that satisfy the given conditions
- Count of sub-strings that contain character X at least once
- Check if string can be rearranged so that every Odd length Substring is Palindrome
- Reverse the given string in the range [L, R]

Given a string str and a string array arr[], the task is to find the minimum count of substrings this can be splitted into such… Read More »

Given an integer N, the task is to count the number of binary strings possible of length N such that they don’t contain “111” as… Read More »

Given a string str and a character K, the task is to find the count of all the substrings of str that contain the character… Read More »

Given a string str and an integer L. The task is to print all the unique substring of length L from string str. Examples: Input:… Read More »

Given a string. The task is to find out the numbers of substrings consisting of the same characters. Examples: Input: abba Output: 5 The desired… Read More »

Given string str. The task is to find the longest sub-string which is a prefix, a suffix and a sub-string of the given string, str.… Read More »

Given string str, the task is to find the length of the longest substring of str such that no three consecutive characters in the substring… Read More »

Given a string str, and two integers L and R, the task is to reverse the string in the range [L, R] i.e. str[L…R]. Examples:… Read More »

Given two string str1 and str2, the task is to find the longest prefix of str1 which is present as a substring of the string… Read More »

Given a string S. The task is to check whether it is possible to rearrange the string such that every substring of odd length is… Read More »

Given a string str consisting of lowercase English alphabets, the task is to find the count of substrings that start with “geeks” and end with… Read More »

Given a string. The task is to find the maximum number P, such that given string can be partitioned into P contiguous substrings such that… Read More »

Given an input string and a substring. Find the frequency of occurrences of a substring in the given string using pthreads. Examples: Input: string =… Read More »

Given a string str, the task is to repeat every substring of the string X number of times where X is the number composed of… Read More »

Given a string s of size N. The task is to find the largest substring which consists of same characters Examples: Input : s =… Read More »