Baker Hughes Interview Question

Q1. Reverse a Linked List.