Solutions to ch.9 (binary trees) questions from Elements of Programming Interviews.