Google interview question

A BST question.