A collection of algorithms from topcoder contests.