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+ Video Courses
  • 800+ Hands-On Labs
  • 400+ Quick Notes
  • 55+ Skill Tests
  • 45+ Interview Q&A Courses
  • 10+ Real-world Projects
  • Career Coaching Sessions
  • Email Support
Upto 60% OFF
Know More
Still have some questions? Let's discuss.
CONTACT US
Accept cookies & close this