Block interview question

Trees and recursion