TopCoder algorythm exercices