Comcast interview question

Invert a binary tree, ques related to