StubHub interview question

Question involving Binary search tree