Meta Interview Question

A problem with a tree and recursion