Algorithm solutions for Topcoder & CS 97SI