Notes for 3.2 Algorithms - IB