Microsoft interview question

reverse the elements of a linked list.