Lilly Pulitzer interview question

how would you invert a binary tree