Back to QuestionsPractice with This Question
Reverse a Linked List
117K views•Asked at Amazon•
Easy
Question Explain
Given the head of a singly linked list, reverse the list and return the reversed head. Implement both iterative and recursive solutions.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.