Pregunta de entrevista de Asana

Very standard CS binary search tree question.