Back to Questions

Reverse a Linked List

117K viewsAsked 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.

Practice with This Question
Reverse a Linked List - Interview Question