Cisco interview question

Pseudo code for Reversing a linked list