Intel Corporation interview question

reverse a given linked list.