Topics
Work through them in order: each one builds on the last.
- 1Arrays and hashingLearn arrays and hash maps for coding interviews with pictures: what each operation costs, plus counting, 'seen before' and prefix sum patterns.3 min5-question quiz3 problems
- 2Two pointers and sliding windowTwo pointers and sliding window explained with pictures: when each works, step-by-step diagrams, a quiz and practice problems in Python and JavaScript.3 min5-question quiz3 problems
- 3Stacks and queuesStacks and queues explained with pictures: push, pop, bracket matching and the monotonic stack pattern, with a quiz and practice problems.2 min5-question quiz3 problems
- 4Linked listsLinked lists explained with pictures: pointer rewiring, dummy heads and fast and slow pointers, with step-by-step diagrams and practice problems.2 min5-question quiz3 problems
- 5TreesBinary trees and BSTs explained with pictures: DFS, BFS, recursion and the BST rule, with step-by-step diagrams, a quiz and practice problems.3 min5-question quiz3 problems
- 6GraphsGraphs explained with pictures: BFS, DFS, grids, cycle detection, topological sort and Dijkstra, with diagrams, a quiz and practice problems.3 min5-question quiz3 problems
- 7Binary search and sortingBinary search without off-by-one bugs, explained with pictures: the template, rotated arrays, binary search on the answer and sorting costs.3 min5-question quiz3 problems
- 8Dynamic programmingDynamic programming explained with pictures: find the state, write the recurrence, memoisation vs tables. With a quiz and practice problems.2 min5-question quiz3 problems
Learn the idea
A short lesson per topic: how it works, what each operation costs, and the patterns interviewers look for.
Solve real problems
Write code in the browser and run it against tests. Your code never leaves your device.
Get unstuck, step by step
Reveal the breakdown one step at a time, then read a full solution with its complexity.
Preparing for a specific company?
Our company guides explain each interview process from the company's own pages, with a 4-week study plan.
See company guidesAll problems and explanations are written by the Nokku team. Every solution is tested against a brute-force answer.