Google Interview Question

Invert a binary tree in log(n) memory