Reverse Linked List

RedAurtherRedAurther
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

0
Subscribe to my newsletter

Read articles from RedAurther directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

RedAurther
RedAurther