my take on topcoder problems.