Reverse a Linked List
riddhi-jain opened this issue · comments
Riddhi Jain commented
Given the head of a singly linked list, reverse the list, and return the reversed list.
Input: head = [1,2,3,4,5]
Output: [5,4,3,2,1]
Sarthak Mittal commented
Let's do it
Mehepueks commented
Hi there!
I am very knew to all this and I was wondering if I can have a go at this?