## Check if lowercase and uppercase characters are in same order

Given a string str containing only lower and uppercase alphabets. The task is to check if both lowercase characters and uppercase characters follow the same… Read More »

- Count common characters in two strings
- 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
- 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
- Java program to check whether a string is a Palindrome
- Check if two strings are same ignoring their cases
- Minimum number of adjacent swaps to convert a string into its given anagram
- Program to generate all possible valid IP addresses from given string | Set 2
- Distinct palindromic sub-strings of the given string using Dynamic Programming
- Maximize the happiness of the groups on the Trip
- Find the number of binary strings of length N with at least 3 consecutive 1s
- InfyTQ 2019 : Find the position from where the parenthesis is not balanced
- Implement a Dictionary using Trie
- Minimum rotations required to get the same String | Set-2
- Check if a string can be obtained by rotating another string d places
- Count pairs of non-overlapping palindromic sub-strings of the given string
- Append a digit in the end to make the number equal to the length of the remaining string
- Count of substrings which contains a given character K times
- C++ program to compare two Strings using Operator Overloading
- 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

Given a string str containing only lower and uppercase alphabets. The task is to check if both lowercase characters and uppercase characters follow the same… Read More »

Given two string S and Q. The task is to count the number of the common subsequence in S and T. Examples: Input : S… Read More »

Given a string str containing only lowercase alphabets, the task is to minimize the length of the string after performing the following operation: Delete all… Read More »

Given a string where, . Assume that all the characters in are unique. The task is to compute the minimum length of a string which… Read More »

Given a binary string. We are allowed to do circular rotation of the string without changing the relative order of the bits in the string.… Read More »

Given a very large Number N. The task is to check if the number can be divided into two or more segments of an equal… Read More »

Given two numeric strings, A and B. A numeric string is a string that contains only digits [‘0’-‘9’]. The task is to make both the… Read More »

Given a string of characters with opening and closing brackets. The task is to remove extra brackets from string and balance it. Examples: Input: str… Read More »

Given a string S. You are allowed two types of operations: Remove a character from the front of the string. Remove a character from the… Read More »

Suppose there is a queue of n users and your task is to assign a username to them. The system works in the following way.… Read More »

Given a string str. The task is to find all possible number of strings that can be obtained by replacing the “$” with alphabets in… Read More »

Given a string str containing numbers separated with “, “. The task is to convert it into an integer array and find the sum of… Read More »

Given a String str containing only lowercase English alphabets and an integer K. The task is to check that whether the string can be converted… Read More »

Given a string str of lowercase characters, the task is to remove duplicates and return a resultant string without modifying the order of characters in… Read More »

Given a string comprising of ones and zeros. The task is to find the maximum length of the segments of string such that a number… Read More »