Reverse Linked List

#206
Easy
Linked List
O(n)
O(1)
Amazon
Microsoft
Facebook
Apple
View on LeetCode

Problem Description

Given the head of a singly linked list, reverse the list, and return the reversed list.