SG ATS Programming Contest #9 : Data structures