Binary
How computers store everything: with only 1s and 0s. Each 1 or 0 is a bit.
Example
The number 5 in binary is 101: 1×4 + 0×2 + 1×1.
Lessons that use it
Basic data types
The bricks of everything
How numbers are stored
Negatives and decimals in binary
How letters are stored
Every letter is a number
Binary trees
Each node, at most 2 children
Binary search in depth
2 pointers closing in
Boundaries with binary search
Where to insert and where a run starts
Choosing how to search
Brute force or using the order
Radix sort
Digit by digit
Measure and optimize
Measure first
GraphQL and gRPC
Other ways to talk to an API
Real time: long polling, WebSockets and SSE
Letting the server speak first
Designing WhatsApp
2 billion messages a day
