Arkhitech interview question

Reverse a singly linked list