Foobar interview question

Reverse a linked list in constant time