Red Hat Interview Question

inverse a binary tree in Java