Here is the collection of the Top 50 list of frequently asked interviews question on Strings. Problems in this Article are divided into three Levels so that readers can practice according to the difficulty level step by step ..
Level 1 in Java Coding Problems for Interviews
1. Reverse words in a given string
2. Longest Common Prefix
3. Roman Number to Integer
4. Integer to Roman
5. Closest Strings
6. Divisible by 7
7. Encrypt the String – II
8. Equal point in a string of brackets
9. Isomorphic Strings
10. Check if two strings are k-anagrams or not
11. Panagram Checking
12. Minimum Deletions
13. Number of Distinct Subsequences
14. Check if string is rotated by two places
Level 2 In Java Coding Problems for Interviews
1. Implement Atoi
2. Validate an IP address
3. License Key Formatting
4. Find largest word in dictionary
5. Equal 0,1, and 2
6. Find and replace in String
7. Add Binary Strings
8. Sum of two large numbers
9. Multiply two strings
10. Look and say Pattern
11. Minimum times A has to be repeated to make B a Substring
12. Excel Sheet – I
13. Form a Palindrome
14. Find the N-th character
15. Next higher palindromic number using the same set of digits
16. Length of longest prefix suffix
17. Longest K unique characters substring
18. Smallest window in string containing all characters
19. Longest Palindromic Subsequence
20. Longest substring without repeating characters
21. Substrings of length k with k-1 distinct elements
22. Count number of substrings
23. Interleaved Strings
24. Print Anagrams together
25. Rank the permutation
26. A Special Keyboard
Level 3 In Java Coding Problems for Interviews
1. Restrictive Candy Crush
2. Edit Distance
3. Search Pattern (KMP-Algorithm)
4. Search Pattern (Rabin-Karp Algorithm)
6. Search Pattern (Z-algorithm)
7. Shortest Common Supersequence
8. Number of words with K maximum distinct vowels
9. Longest substring to form a Palindrome
10. Longest Valid Parenthesis
11. Distinct Palindromic Substrings