Java: Reverse a Doubly Linked List

Level : Intermediate
Mentor: Shailendra Chauhan
Type : GuidedLab
Points : 10
Duration : 00:20:00

Lab Details

Difficulty Level: MEDIUM

Problem Statement:

You are given a doubly linked list, Write a Java Program to reverse that doubly linked list.

Input:

Original Linked List: 8 3 6 1 46 12 0

Output:

Reversed Linked List: 0 12 46 1 6 3 8


Self-paced Membership
  • 22+ Courses
  • 750+ Hands-On Labs
  • 200+ Quick Notes
  • 55+ Skill Tests
  • 45+ Interview Q&A
  • 10+ Real-world Projects
  • Career Coaching
  • Email Support
Upto 66% OFF
KNOW MORE..

To get full access to all courses

Still have some questions? Let's discuss.
CONTACT US
Accept cookies & close this