Linked Lists — 2
A doubly linked list is a linked data structure that consists of a set of sequentially linked records called nodes. Each node contains two fields, called links, that are references to the previous and to the next node in the sequence of nodes.
⚠️ If you wan’t to learn more about linked-lists click here
Core

⚜️ The list
Append
AppendAt
Remove
RemoveAt
Reverse
Swap
IsEmpty & Length
Traverse
Display
Search
Lets’ begin!!

Initial List
❗️All the code snippets you will see below are just Pseudo code.
🔅 Append

Append Operation
🔅 AppendAt

AppendAt Operation
🔅 Remove

Remove Operation
🔅 RemoveAt

RemoveAt Operation
🔅 Reverse

Reverse Operation
🔅 Swap

Swap Operation
🔅 IsEmpty & Length

IsEmpty & Length Operation
🔅 Traverse

Traverse Operation
🔅 TraverseReverse

TraverseReverse Operation
🔅 Search

Search Opeartion

Practice
GeekForGeeks Double Linked List
HackerRank Linked Lists
Last updated
Was this helpful?