Folio3 interview question

Reverse a singly linked list Swap two variables without using another variable