Qualcomm Interview Question

Reversing a linked list in C.