code and algorithms from coding competitions