Google Interview Question

Max Ptah in a tree