LinkedIn interview question

Reverse linked list without using extra space