Imprint.com interview question

REverse a linked list twice