Pregunta de entrevista de DreamBox Learning

Given this TreeNode implementation, invert the tree