Tech Prescient Interview Question

Q). Reverse a linked list.