TopCoder Algorithms Exercises