Skip to content
Related Articles

Related Articles

Top 50 String Coding Problems for Interviews

View Discussion
Improve Article
Save Article
  • Difficulty Level : Easy
  • Last Updated : 17 Mar, 2022
View Discussion
Improve Article
Save Article

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

  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

  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

  1. Restrictive Candy Crush
  2. Edit Distance
  3. Search Pattern (KMP-Algorithm)
  4. Search Pattern (Rabin-Karp Algorithm)
  5. Search Pattern (Z-algorithm)
  6. Shortest Common Supersequence
  7. Number of words with K maximum distinct vowels
  8. Longest substring to form a Palindrome
  9. Longest Valid Parenthesis
  10. Distinct Palindromic Substrings

Related Articles:

Top 50 Array Coding Problems for Interviews

Top 50 Tree Coding Problems for Interviews

Top 50 Dynamic Programming Coding Problems for Interviews

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!