Strings Problems
Practice 45 Strings coding problems on Code Arena — from easy to hard, each with a live judge and a solution editorial.
- Greeting — Easy · Strings, Implementation
- Reverse a String — Easy · Strings, Implementation
- Count the Vowels — Easy · Strings
- Balanced Brackets — Medium · Stack, Strings
- Edit Distance — Hard · Dynamic Programming, Strings
- Count Words — Easy · Strings
- Sum of Digits — Easy · Math, Strings
- Palindrome Check — Medium · Strings
- Anagram Check — Medium · Strings, Sorting
- Longest Common Subsequence — Hard · Dynamic Programming, Strings
- To Uppercase — Easy · Strings
- Character Count — Easy · Strings
- Binary to Decimal — Medium · Math, Strings
- Longest Palindromic Substring — Hard · Strings, Dynamic Programming
- Roman to Integer — Medium · Strings, Implementation
- Valid Palindrome — Medium · Strings, Two Pointers
- Valid Parentheses — Medium · Stack, Strings
- Length of Last Word — Easy · Strings
- Unique Visitors — Easy · Hashing, Strings
- DNA Mutations — Easy · Strings
- GC Content — Easy · Strings, Math
- Most Common Word — Medium · Hashing, Strings
- Distinct Words — Easy · Hashing, Strings
- Parse a Timestamp — Medium · Strings, Implementation
- Caesar Cipher — Medium · Strings, Implementation
- Run-Length Encoding — Medium · Strings
- IP Address to Integer — Medium · Strings, Math
- Longest Win Streak — Medium · Strings
- Sum a Spreadsheet Column — Medium · Strings, Implementation
- Maximum Nesting Depth — Medium · Stack, Strings
- Count Uppercase Letters — Easy · Strings
- RGB to Hex Color — Easy · Strings, Implementation, Math
- Title Case — Easy · Strings
- URL Slug — Medium · Strings, Implementation
- Election Winner — Medium · Strings, Hashing
- Password Strength — Medium · Strings, Implementation
- Longest Word — Easy · Strings
- Product of Digits — Easy · Math, Strings
- Count Anagram Groups — Medium · Strings, Hashing, Sorting
- Repeat String — Easy · Strings
- Reverse the Words — Easy · Strings
- Run-Length Decode — Medium · Strings, Implementation
- Longest Substring Without Repeats — Medium · Sliding Window, Hashing, Strings
- Longest Common Substring — Hard · Dynamic Programming, Strings
- Word Break — Hard · Dynamic Programming, Strings