Meta interview question

a binary tree question