← Back to courses

Course

Data Structures & Algorithms

11 problems across 7 techniques

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

Technique 1 of 7 · 2 problemsArrays & HashingTrade 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 2 of 7 · 3 problemsTwo PointersTwo positions moving through the data replace a loop inside a loop - usually once the data is sorted
Technique 3 of 7 · 2 problemsSliding WindowSlide a stretch of the input along, growing and shrinking it, instead of re-checking every possible stretch from scratch
Technique 4 of 7 · 1 problemsStackLast in, first out: the most recent thing you opened is the first thing that has to close
Technique 5 of 7 · 1 problemsLinked List & DesignPut two data structures together so that every operation stays fast
Technique 6 of 7 · 1 problemsBinary SearchCut the range you are searching in half at every step, when the answer sits somewhere in a sorted range
Technique 7 of 7 · 1 problemsRecursionStructures 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.