Lab 01: Asymptotics
Use the handout:
/assets/algorithms/handouts/big-o-cheatsheet.pdfTasks
- Order functions by growth rate.
- Prove simple bounds for given loops.
- Implement a timing harness and measure O(n), O(n log n).