Microsoft interview question

reverse a single linked list