Infosys Interview Question

reverse linked list!