← Back to courses

Course

Data Structures & Algorithms

11 problems across 7 techniques

Problems grouped by technique · Interactive step-through visualizers · Editable JavaScript solutions

Technique 01Arrays & Hashing- 2 problems · Trade memory for speed: keeping what you have seen in a map or set means a lookup is one step instead of another pass over the data
Technique 02Two Pointers- 3 problems · Two positions moving through the data replace a loop inside a loop - usually once the data is sorted
Technique 03Sliding Window- 2 problems · Slide a stretch of the input along, growing and shrinking it, instead of re-checking every possible stretch from scratch
Technique 04Stack- 1 problems · Last in, first out: the most recent thing you opened is the first thing that has to close
Technique 05Linked List & Design- 1 problems · Put two data structures together so that every operation stays fast
Technique 06Binary Search- 1 problems · Cut the range you are searching in half at every step, when the answer sits somewhere in a sorted range
Technique 07Recursion- 1 problems · Structures that contain themselves: solve the smallest case directly, then trust the same function to handle each smaller part
Learn the technique, not the problem. Each group is a pattern that transfers: once two pointers clicks on 3Sum, it is the same move on any sorted-array question.