⌨️ Coding Patterns (DSA) path
Arrays & Hashing interview questions and study guide
6 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 1 lesson
Intermediate 5 lessons
- Two Sum: find two indices whose values add up to a target.
- Group anagrams together.
- Find the length of the longest consecutive sequence in an unsorted array. Compare sorting, HashSet and streams.
- Product of array except self without division. Show brute force, division and prefix/suffix products.
- Count subarrays whose sum equals K. Show brute force, prefix sums and the HashMap of prefix sums.