You are given the start node of a singly linked list. Rewrite the connections between the nodes so that the order of the list is completely reversed, then return the new starting node.
Visualizer will appear here