---
title: "Discussion on \"LL 4 - Reverse a Doubly Linked List\" | Hashnode"
description: "Discussion on \"LL 4 - Reverse a Doubly Linked List\". Problem\nGiven a doubly linked list of n elements. Your task is to reverse the doubly linked list in-place.\nExample 1:\n\nInput:\nLinkedList: 3 <--> 4 <--> 5\nOutput: 5 4 3\n\nExample 2:\n\nInput:\nLinkedList: 75 <--> 122 <--> 59 <--> 196\nOutput: 196 59 122 75..."
url: "https://hashnode.com/posts/ll-4-reverse-a-doubly-linked-list/66a63df68a3b4bb06a73c6ac"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LL 4 - Reverse a Doubly Linked List](https://chetan77.hashnode.dev/ll-4-reverse-a-doubly-linked-list?utm_source=hashnode&utm_medium=feed)

Problem Given a doubly linked list of n elements. Your task is to reverse the doubly linked list in-place. Example 1: Input: LinkedList: 3 <--> 4 <--> 5 Output: 5 4 3 Example 2: Input: LinkedList: 75 <--> 122 <--> 59 <--> 196 Output: 196 59 122 75...

Jul 28, 2024 · 2 min read · chetan77.hashnode.dev  
Read the article

-   [#reversal](https://hashnode.com/tag/reversal)
-   [#linked-list](https://hashnode.com/tag/linked-list)
-   [#doublylinkedlist](https://hashnode.com/tag/doublylinkedlist)
-   [#reverse](https://hashnode.com/tag/reverse)
-   [#leetcode](https://hashnode.com/tag/leetcode)

## Written by

[Chetan Datta](https://hashnode.com/@chetan77)

@chetan77 · Hyderabad, India

  
[View profile](https://hashnode.com/@chetan77)

Software Engineer

I share my learnings here. Thanks for reading.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
