Infosys interview question

CODE FOR REVERSING LINKED LIST. code for binary tree traversal