How can you reverse a singly linked list?
By swapping the data of the nodes.
By deleting all nodes and creating a new list in reverse order.
By reversing the next pointers of the nodes.
By converting the linked list to an array and then reversing it.
This question is part of this quiz :
JavaScript Linked List