introcs Most code is from Introduction to Computer Science (Robert Sedgewick) + solutions to problems in the book.