Microsoft interview question

reverse a linked list with one direction