Pregunta de entrevista de Google

How would you invert a binary search tree?