ABC Interview Question

Reverse a Linked List with given head nodes.