Linked list is a data structure similar to array in a sense that it stores bunch of items. But unlike array, linked lists are not stored in contiguous memory locations. They are instead chained by an element storing address location of next element. 📺 This makes insertion very easy. Also unlike dynamic arrays you don't have to pre-allocate some memory capacity. In this tutorial we will go through some theory first and then write python code to implement linked list. 💻 In the end we have an interesting exercise for you to solve.
Code: https://github.com/codebasics/data-st...
Exercise Link: https://github.com/codebasics/data-st...
⭐️ Timestamps ⭐️
00:00 Introduction
00:23 Issues with arrays that linked list solves
05:42 Doubly linked list
06:18 Big O analysis (array vs linked list)
07:41 Python implementation
32:58 Exercise
#datastructures #algorithms #python
Complete playlist: • Hindi Data Structures And Algorithms Tutor...
Codebasics English Channel: / codebasics
#️⃣ Social Media #️⃣
🔗 Discord: / discord
📸 Instagram: / codebasicshub
🌎 Website:
🔊 Facebook: / codebasicshub
📱 Twitter: / codebasicshub
📝 Linkedin (Personal): / dhavalsays
📝 Linkedin (Codebasics): / codebasics
❗❗ DISCLAIMER: All opinions expressed in this video are of my own and not that of my employers'.