L&T Technology Services Interview Question

5. Reverse a linked list