Skip to main content

Command Palette

Search for a command to run...

Reverse Linked List

Published
โ€ข1 min read

๐Ÿง  Problem

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


๐Ÿท๏ธ Tags

linked list, Recursion


๐Ÿ“Š Difficulty

Easy

โœ… Success Rate: 70.1%
๐Ÿ“ฅ Submissions: 2,927,119
๐Ÿ“ˆ Accepted: 2,052,205


โค๏ธ Reactions

๐Ÿ‘ Likes: 11446
๐Ÿ‘Ž Dislikes: 199


๐Ÿ’ก Hints


๐Ÿ” Similar Questions

  • Reverse Linked List II
  • Binary Tree Upside Down
  • Palindrome Linked List
  • Reverse Nodes in Even Length Groups
  • Maximum Twin Sum of a Linked List

Leetcode Link : Reverse Linked List

More from this blog

ReStart LeetCode

540 posts