Domanda di colloquio di StubHub

Question involving Binary search tree