Meta interview question

A problem with a tree and recursion