## Check whether str1 can be converted to str2 with the given operations

Given two binary strings str1 and str2. The task is to check whether it is possible to convert str1 to str2 by applying the below… Read More »

- 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
- Rearrange characters in a string such that no two adjacent are same using hashing
- Check whether two strings contain same characters in same order
- Program to generate all possible valid IP addresses from given string | Set 2
- Implement a Dictionary using Trie
- Maximize the happiness of the groups on the Trip
- Largest substring with same Characters
- 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
- Reverse individual words with O(1) extra space
- Find uncommon characters of the two strings | Set 2
- Total number of odd length palindrome sub-sequence around each centre
- Optimally accommodate 0s and 1s from a Binary String into K buckets
- Longest string in an array which matches with prefix of the given string
- Swap characters in a String
- Rearrange the characters of the string such that no two adjacent characters are consecutive English alphabets
- Maximum length palindromic substring such that it starts and ends with given char
- Reverse the Sentence using Stack
- Queries to check if string B exists as substring in string A
- Sort an array of strings according to string lengths using Map

Given two binary strings str1 and str2. The task is to check whether it is possible to convert str1 to str2 by applying the below… Read More »

Given a string str consisting of uppercase and lowercase characters. The task is to sort uppercase and lowercase characters separately such that if the ith… Read More »

Given two numbers N and K . The task is to find N’th smallest number that is divided by 100 exactly K times. Examples: Input… Read More »

Given a string str with repeated characters, the task is to rearrange the characters in a string such that no two adjacent characters are same.… Read More »

Given an array of strings of length N, it is allowed to concatenate them in any order. Find the maximum possible number of occurrences of… Read More »

Given a string str consisting of a sentence, the task is to reverse the entire sentence word by word. Examples: Input: str = “geeks for… Read More »

Given a string str, the task is to find the number of odd length palindromic sub-sequences around of str with str[i] as centre i.e. every… Read More »

Given a string consisting of numerical alphabets, a character C and an integer K, the task is to find the number of possible substrings which… Read More »

Given a string str consisting of digits, the task is to find the number of possible 4 digit sub-sequences which are of the form (x,… Read More »

Given a string str and an integer K, the task is to find the length of the longest sub-string S’ such that every character in… Read More »

Given a string str, the task is to answer Q queries where every query consists of two integers L and R and we have to… Read More »

Given a string, we need to find the minimum number of rotations required to get the same string. In this case, we will only consider… Read More »

Given four integers l, m, x and y. The task is to check whether it is possible to make a binary string consisting of l… Read More »

Given a string, the task is to count the number of adjacent pairs such that the first element of the pair is a consonant and… Read More »

A trip to mystical land is going to be organized in ByteLand, the city of Bytes. Unfortunately, there are limited seats say A and there… Read More »