## 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 »

- Repeated Character Whose First Appearance is Leftmost
- Convert character array to string in C++
- Count substrings that contain all vowels | SET 2
- Find the longest string that can be made up of other strings from the array
- Minimum number of times A has to be repeated such that B is a substring of it
- Count of integers of length N and value less than K such that they contain digits only from the given set
- Java program to check whether a string is a Palindrome
- Minimum number of adjacent swaps to convert a string into its given anagram
- Check for balanced parentheses in an expression | O(1) space | O(N^2) time complexity
- Check whether two strings contain same characters in same order
- Rearrange characters in a string such that no two adjacent are same using hashing
- Generate all permutations of a string that follow given constraints
- Distinct palindromic sub-strings of the given string using Dynamic Programming
- Program to generate all possible valid IP addresses from given string | Set 2
- Maximize the happiness of the groups on the Trip
- Implement a Dictionary using Trie
- InfyTQ 2019 : Find the position from where the parenthesis is not balanced
- Check if a string can be obtained by rotating another string d places
- Minimum rotations required to get the same String | Set-2
- C++ program to compare two Strings using Operator Overloading
- Count of substrings which contains a given character K times
- Append a digit in the end to make the number equal to the length of the remaining string
- Count the pairs of vowels in the given string
- Minimum number of sub-strings of a string such that all are power of 5
- Reverse individual words with O(1) extra space
- Find uncommon characters of the two strings | Set 2
- Persistent Trie | Set 1 (Introduction)
- Total number of odd length palindrome sub-sequence around each centre
- Largest substring with same Characters
- Optimally accommodate 0s and 1s from a Binary String into K buckets

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 find the minimum length string whose sum of each character (As a = 1, b = 2,… Read More »

Given string str. The task is to find the length of the string using %n format specifier Examples: Input: Geeks For Geeks Output: 15 Input:… Read More »

Given two strings str1 and str2, the task is to check whether both of the string can be made equal by copying any character of… Read More »

Given a large binary string str and an integer K, the task is to find the value of str % K. Examples: Input: str =… Read More »

Given an array arr[] of strings containing the names of employees in a company. Assuming that the names are being entered in a system one… Read More »

Given two strings of equal lengths str1 and str2 consisting of characters ‘a’ and ‘b’ only. The followig operations can be performed on str1: Any… 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 the task is to modify the string such that no three consecutive characters are same. In a single operation, any… Read More »

Given a string str of alphanumeric characters, the task is to sort the similar group of consecutive characters separately and print the modified string i.e.… 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 consisting of the characters from the set {‘o’, ‘n’, ‘e’, ‘z’, ‘r’}, the task is to to find the largest possible… Read More »

Given a string str consisting of lowercase English alphabets, the task is to find the count of all possible string of maximum length that can… 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 str that may contain duplicate characters, the task is to print all the distinct permutations of the given string such that no… Read More »