Almug interview question

2nd round--reverse a linked list