Addverb Technologies interview question

Invert Binary Tree , LC Medium