📚 PracticeEasyAlgorithm ProblemCoding Ready

Reverse Linked List

linked-listrecursion
LeetCode #206
Updated Dec 20, 2025

Question

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

LeetCode: Reverse Linked List

Example:

Input: head = [1,2,3,4,5]
Output: [5,4,3,2,1]

Your Solution

python
Auto-saves every 30s

Try solving the problem first before viewing the solution


0:00time spent