Insertion and Deletion in a Double Linked List | Visuals and Animations | Study Algorithms

Опубликовано: 28 Сентябрь 2024
на канале: Nikhil Lohia
1,461
70

Basic operations on a double linked list are inserting new elements and deleting existing ones. Such operations help you to manipulate and create applications with data structures. This video shows how you can perform these operations at the start of a list, at the end, and in the middle. Visuals and animations help you to understand the concept clearly. A sample implementation of the methods is available in JAVA along with a dry-run.

Chapters:
00:00 - Intro
01:10 - Inserting at beginning and end of Double Linked List
04:32 - Inserting in the middle of a Double Linked List
06:24 - Dry-run of code to insert elements
11:52 - Deleting at beginning and end of Double Linked List
14:15 - Deleting from the middle of a Double Linked List
15:45 - Dry-run of code to delete elements
19:14 - Final Thoughts

📚 Links to topics I talk about in the video:
Double Linked List:    • Double Linked List Data Structure exp...  
Traversing a Double Linked List:    • Navigating a Double Linked List | Cha...  
Inserting in a Single Linked List:    • Insert a Node in a Linked List | Anim...  
Deleting in a Single Linked List:    • Deleting a Node in a Linked List | An...  
Data Structures:    • Data Structures  

📘 A text based explanation is available at: https://studyalgorithms.com

Code on Github: https://github.com/nikoo28/java-solut...

📖 Reference Books:
Starting Learn to Code: https://amzn.to/36pU0JO
Favorite book to understand algorithms: https://amzn.to/39w3YLS
Favorite book for data structures: https://amzn.to/3oAVBTk
Get started for interview preparation: https://amzn.to/39ysbkJ

🔗 To see more videos like this, you can show your support on: https://www.buymeacoffee.com/studyalg...

🎥 My Recording Gear:
Recording Light: https://amzn.to/3pAqh8O
Microphone: https://amzn.to/2MCX7qU
Recording Camera: https://amzn.to/3alg9Ky
Tablet to sketch and draw: https://amzn.to/3pM6Bi4
Surface Pen: https://amzn.to/3pv6tTs
Laptop to edit videos: https://amzn.to/2LYpMqn


💻 Get Social 💻
Follow on Facebook at:   / studyalgos  
Follow on Twitter at:   / studyalgorithms  
Follow on Tumblr at:   / studyalgos  
Subscribe to RSS feeds: https://studyalgorithms.com/feed/
Join fan mail: http://eepurl.com/g9Dadv

#interview #programming #datastructures