Traversing a Linked List | Challenges and tricks with code | Study Algorithms

preview_player
Показать описание
No matter what data structure is created, you need a way to iterate over all the added elements. A stack and queue have push and pop operations, while you can directly refer to element positions in an array. What about a Linked List? In this video, we go over the challenges of traversing the elements in a linked list and why the head of a list is really important. You will also find code samples in JAVA all along with animations and visuals.

Chapters:
00:00 - Intro
01:14 - Structure of a Linked List
01:58 - Iterating over a List
03:30 - Printing all values
05:31 - Dry-run of code
08:49 - Final Thoughts

📚 Links to topics I talk about in the video:

📖 Reference Books:

🎥 My Recording Gear:

💻 Get Social 💻

#datastructures #programming #linkedlist
Рекомендации по теме
Комментарии
Автор

Your approach and way of explaining is wonderful..

vivekchintha
Автор

Best way of explaining the linked list

navinanand
Автор

i found your channel and its a gem to learn from you as its so interesting as well as easy to understand through the animations

pratishthashah
Автор

Really Nikhil you are a gem of algorithm when i found any topic is tough for me I search in your channel and you never disappoint me. God Bless you .:)

akankshasonkar
Автор

very very useful lectures sir..Thank you for ur efforts..keep doing continously..which helps and mean to us alot..sir

.MeghanaDevi
visit shbcf.ru