⌨️ Coding Patterns (DSA) path
Strings interview questions and study guide
4 lessons from beginner to advanced. Each lesson explains the concept, shows a worked example and lists the follow-up questions interviewers ask next.
Start with lesson 1 →Beginner 3 lessons
- Reverse a string and reverse the words of a sentence. How many ways can you do it in Java?
- Check whether two strings are anagrams. Compare sorting, int[26], HashMap and streams.
- Longest common prefix of an array of strings. Compare horizontal, vertical, sort-based and stream solutions.