2nd year algorithms and data structure