Google interview question

Asked to invert a binary tree.