Ramesh & Co. interview question

write the linked list code to reverse the nodes.