Makersquare interview question

Invert a binary tree