Solution: Reverse Linked List
Solution: Reverse Linked List gives you the head of a singly linked list and asks you to reverse its node order, then return the head of the resulting list.
Statement
Given the head of a singly linked list, reverse the linked list and return its updated head.
Constraints:
Let n be the number of nodes in a linked list.