Leetcode -Linked List Solution: Leetcode 206 Reversing a Singly Linked ListGiven the head of a singly linked list, our task is to reverse the list and return the reversed version. For example, if the input linked list is [1, 2, 3, 4, 5], the reversed list should be [5, 4, 3, 2, 1].