Google interview question

Algorithm question about binary trees