Foundations
How computers represent data, how programs run, and how to reason about cost.
Data inside a computer
How bits and bytes encode numbers, negative values, decimals and text.
- Bits, bytes and binary numbers Every number in a computer is a row of bits. Toggle eight bits, watch their place values add up, and convert between decimal and binary…
Analyzing algorithms
Measure how running time and memory grow with input size, using Big-O and its relatives.
- Big-O, Big-Θ and Big-Ω Big-O, Big-Θ and Big-Ω describe how cost grows, ignoring constants. Watch 3n + 5 and n² as n grows and the small terms fade away.