Domanda di colloquio di Google

Coding question involving binary search trees