Google interview question

How would you invert a binary search tree?