Pregunta de entrevista de Google

Finding the next node in a binary tree