LinkedIn Interview Question

Reverse binary tree