Topcoder problem solves by kevin yan