## Check if given string contains all the digits

Given a string str consisting of alphanumeric characters, the task is to check whether the string contains all the digits from 1 to 9. Examples:… Read More »

- 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
- Program to generate all possible valid IP addresses from given string | Set 2
- Implement a Dictionary using Trie
- 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
- C++ program to compare two Strings using Operator Overloading
- 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
- Optimally accommodate 0s and 1s from a Binary String into K buckets
- 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
- Sort an array of strings according to string lengths using Map
- Find distinct characters in distinct substrings of a string
- Convert an unbalanced bracket sequence to a balanced sequence
- Check whether two strings are anagrams of each other using unordered_map in C++
- Maximum number of given operations to remove the entire string
- Print characters and their frequencies in order of occurrence using a LinkedHashMap in Java
- Case-specific Sorting of Strings
- Convert a String to an Integer using Recursion
- Maximum String Partition
- Number of substrings that start with "geeks" and end with "for"

Given a string str consisting of alphanumeric characters, the task is to check whether the string contains all the digits from 1 to 9. Examples:… Read More »

Given a string S of length N and an integer K, the task is to find the length of longest sub-sequence such that the difference… Read More »

Given an integer N, the task is to reduce the number to a smallest positive integer X after removing some of the digits (possibly none)… Read More »

Given a string str, the task is to find whether the given string is a palindrome or not using stack. Examples: Input: str = “geeksforgeeks”… Read More »

The task is to generate a binary string of length N using branch and bound technique Examples: Input: N = 3 Output: 000 001 010… Read More »

Given two strings A and B of length N, the task is to check whether the two strings can be made equal by swapping any… Read More »

Given a string str, the task is to make the string start and end at the same character with the minimum number of given operations.… Read More »

Given a string str, the task is to find the maximum valued alphabet in str. The value of a particular alphabet is defined as the… Read More »

Given eight digits of a phone number as an integer N, the task is to find the missing last two digits and print the complete… Read More »

Given a binary string str of length N, the task is to find the maximum count of substrings str can be divided into such that… Read More »

Given a string str, the task is to check whether all the substrings of length ≥ 2 have the number of vowels at least as… Read More »

Given two same length strings str1 and str2 consisting of lowercase English alphabets, the task is to find the Mid-Alphabet for each index of the… Read More »

Given a string str containing only lowercase characters, the task is to answer Q queries of the following type: 1 C X: Find the largest… Read More »

Given a string str of length N and Q queries where every query consists of two integers L and R. For every query, the task… Read More »

Given a string str consisting of lowercase characters, the task is to check whether the string is divisible by 6 after changing it according to… Read More »