Apple interview question

Invert a binaray tree, DFS traversal