Category: Linked List
Difficulty: beginner
Description: Reverse a singly linked list
Time Complexity: O(n)
Space Complexity: O(1)