CHOOSE A WORLD
Nine worlds of coding problems, each explained in two minutes. Clear any five stages to beat a world, or all of them for 100%.
WORLD 1 Warm-up
Lookups, stacks, halving and two runners: the moves everything else is built on.
☆☆☆☆☆WORLD 2 Arrays
One-pass scans, sort and sweep, a leaderboard, a sliding window, running totals, two pointers and a stack.
☆☆☆☆☆WORLD 3 Trees
Solve a smaller copy: ask each subtree, read level by level, pass down limits, walk a tree of letters.
☆☆☆☆☆WORLD 4 Backtracking
Try a choice, explore everything after it, then undo it and try the next: every subset, every order, every sum.
☆☆☆☆☆WORLD 5 Dynamic programming
Remember the answers to smaller problems and build up: a staircase, a row of houses, a pile of coins, a rising run, two words.
☆☆☆☆☆WORLD 6 Graphs
Grids, dependencies and travel times: search outward, put steps in order, find the fastest route.
☆☆☆☆☆WORLD 7 Greedy
Take the best move right now and never look back, when you can prove that's safe: jumps, a road trip, a packed stage.
☆☆☆☆☆WORLD 8 Bits and math
Treat a number as a row of switches: cancel pairs with XOR, clear bits one at a time.
☆☆☆☆☆WORLD 9 Design
Build your own data structure, with every operation in constant time: a stack that knows its minimum, a cache.
☆☆☆☆☆
























