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 herearrow-up-right

Core

⚜️ The list

  1. Append

  2. AppendAt

  3. Remove

  4. RemoveAt

  5. Reverse

  6. Swap

  7. IsEmpty & Length

  8. Traverse

  9. Display

  10. 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

Last updated