A2 COMP3 Algorithms and Data Structures