Google interview question

Invert a binary tree in log(n) memory