PTC Interview Question

questions involved writing a function to reverse a linked list