Reverse a binary tree in O(n) time.
Represent each node as [value, left, right], where left and right are child nodes or None. Implement reverse_binary_tree(root) to mirror the tree in place and return root. The solution must visit each node once.
root is a nested node structure or None. Return the same structure after swapping the left and right subtrees of every node.
def reverse_binary_tree(root):