Oracle interview question

Binary tree reversal. Leetcode: https://leetcode.com/problems/invert-binary-tree/