Here I compiled some questions that can be asked in an interview.
-
- All permutations of a string
- If strings are permutations of each other
- Vowel and consonant count
- First non-repeating character 1
- First non-repeating character 2
- If string only contains digits
- If string contains unique characters
- If strings are one edit away
- If the string is the permutation of palindrome
- String duplicate characters
- Reverse string using recursion
- Reverse strings in a sentence
- String compression
- If strings are anagrams