The problem:
Given the root of a binary tree, invert the tree, and return its root.
Example
Input: [1, 2, 3, 4, 5, 6, 7]
Output: [1, 3, 2, 7, 6, 5, 4]
Solution
We opted for a recursive approach to tackle this problem, and upon evaluating our solution on