FPL Technologies interview question

Reversing a LinkedList Invert binary tree