NetApp interview question

WAP to reverse a singly linked list