Qualcomm Interview Question

How would you create a linked list and then reverse its members?