Find all words that follow the same order of characters as given pattern
Given a list of words and a pattern, find all words in the list that follows the same order of characters as that of the pattern.
Ace your Coding Interview
Get hired by top tech companies with our comprehensive interview preparation.
Get StartedGiven a list of words and a pattern, find all words in the list that follows the same order of characters as that of the pattern.
Given n lists of characters and a number whose digits lie between 1 and n, print all possible combinations by replacing its digits with the characters of the corresponding list.
Given a sequence of numbers between 2 and 9, print all possible combinations of words formed from the mobile keypad with some digits associated with each key.
Given a string, find all possible palindromic substrings in it. The problem differs from the problem of finding the possible palindromic subsequence. Unlike subsequences, substrings are required to occupy consecutive positions within the original string.
Given two strings, determine whether they are isomorphic. Two strings, X and Y, are called isomorphic if all occurrences of each character in X can be replaced with another character to get Y and vice-versa.
Find all interleavings of given strings that can be formed from all the characters of the first and second string where the order of characters is preserved.
Given a binary pattern containing ? wildcard character at a few positions, find all possible combinations of binary strings that can be formed by replacing the wildcard character by either 0 or 1.
Given two strings, determine if they are anagrams or not. Two strings X and Y are anagrams if by rearranging the letters of X, we can get Y using all the original letters of X exactly once.
Given a positive number, convert the number to the corresponding Excel column name.
Check if a given string can be derived from another string by circularly rotating it. The rotation can be in a clockwise or anti-clockwise rotation.
Given a string, check if a repeated subsequence is present in it or not. The repeated subsequence should have a length of 2 or more.
Given a string, find the maximum length contiguous substring of it that is also a palindrome.