CapTech Interview Question

How to reverse a linked list