Google interview question

Finding the next node in a binary tree