Informatica interview question

reverse linked list