Pergunta de entrevista da empresa Tripadvisor

Reverse a singly-linked list given a Class Node with data, and a reference to the next node in the Linked List