Skip to content

Baranll0/CircularDoublyLinkedList

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Circular Doubly Linked List

What is a Circular Doubly Linked List

A Circular Doubly Linked List is a data structure that consists of a linked list in which each node has two pointers,
one pointing to the previous node and the other pointing to the next node.
Additionally, the first node's previous pointer points to the last node, and the last node's next pointer points to the first node, forming a circle.

The advantage of a Circular Doubly Linked List is that it can be traversed both forward and backward, making it a useful data structure for many applications.
It is also useful when there is a need to insert or delete nodes frequently because it allows for easy adjustment of pointers without the need to change the entire list.

However, managing a Circular Doubly Linked List can be more complex than managing a regular linked list due to the circular nature of the data structure,
and extra care must be taken to avoid infinite loops during traversal.


Tech I use:


And the features included in this application using Circular Doubly Linked List are:

Finding the length of the list
Adding a number to the beginning of the list
Adding a number to the end of the list
Adding a number to a desired position in the list
Deleting a number from the beginning of the list
Deleting a number from the end of the list
Deleting a number from a desired position in the list
Finding a desired number in the list
Printing the list


You can reach me through my social media accounts listed on my profile.
Have a good day!👋

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages