PTC interview question

create a function that reverses a linked list