Coding problems · by pattern

9 string problems, solved step by step.

Problems about characters: counting them, comparing two strings, scanning with a window, or building the answer one prefix at a time. Each one is solved in 22 languages from brute force to optimal, with code you can run on the page.

0/9 solved
  1. Valid AnagramEasy
  2. Valid PalindromeEasy
  3. Valid ParenthesesEasy
  4. Longest Common PrefixEasy
  5. Roman to IntegerEasy
  6. Group AnagramsMedium
  7. Longest Substring Without Repeating CharactersMedium
  8. Word BreakMedium
  9. Edit DistanceHard