Qualcomm Interview Question

Reverse a singly linked linked list