Practice Problem
Reverse Linked List
Difficulty: Easy
Given the head of a singly linked list, reverse the list and return the new head.
Practice Problem
Difficulty: Easy
Given the head of a singly linked list, reverse the list and return the new head.