Pergunta de entrevista da empresa Google

Coding question involving binary search trees