## Longest Ordered Subsequence of Vowels

Given a string consisting of only vowels, find the longest subsequence in the given string such that it consists of all five vowels and is… 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
- Largest substring with same Characters
- 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
- Reverse individual words with O(1) extra space
- Minimum number of sub-strings of a string such that all are power of 5
- Persistent Trie | Set 1 (Introduction)
- 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

Given a string consisting of only vowels, find the longest subsequence in the given string such that it consists of all five vowels and is… Read More »

Given a string s and two words w1 and w2 that are present in S. The task is to find the minimum distance between w1… Read More »

Given a sorted array of String and a String x, find index of x if it is present in the array. Examples: Input : arr[]… Read More »

Given a string str the task is to expand the string as follows: If the string is abcd, the resultant string will be d, cd,… Read More »

Given a string S. The task is to count and print the number of characters in the string whose ASCII values are prime. Examples: Input:… Read More »

Given a string str and an integer X, the task is to find and print first X vowels from str. If total vowels in str… Read More »

Given a string str and an integer array width[] where: width[0] = width of character ‘a’ width[1] = width of character ‘b’ … width[25] =… Read More »

String is a special class in Java. substring() is one of the widely used methods of String class. It is used to extract part of… Read More »

Given and . The task is to find the number of binary strings of length n out of 2n such that they satisfy f(bit string)… Read More »

Given a file containing data of student name and marks scored by him/her in 3 subjects. The task is to find the list of students… Read More »

Given a sequence of Words and the Order of the alphabet. The order of the alphabet is some permutation of lowercase letters. The task is… Read More »

Given a string S of length N consisting of lowercase English letters and an integer K. Find the lexicographically smallest string T of length K,… Read More »

Given a string str, print reverse all words except the first and last words. Examples: Input : Hi how are you geeks Output : Hi… Read More »

In this article, we will learn how to move all special char to the end of the String. Examples: Input : !@$%^&*AJAY Output :AJAY!@$%^&* Input… Read More »

Given three integers A, B and X. The task is to construct a binary string str which has exactly A number of 0’s and B… Read More »