Code samples for Design and Analysis of Algorithms (SU)