Domanda di colloquio di Google

Both technical questions involved binary trees.