Capital One Interview Question

One of the codding question was something about binary trees.