Google Interview Question

Both technical questions involved binary trees.