Python Tutorials - Singly Linked List | Program | Part 1
Вставка
- Опубліковано 5 жов 2024
- In this Python Programming video tutorial you will learn about how to implement Linked List data structure in python in detail.
Data structure is a way of storing and organising the data so that it can be accessed effectively.
Linked List is a linear data structure made up of chain of nodes in which each node contains a data field and link or reference.
To implement Singly Linked List we are using class concepts here.
Program:
class Node:
def __init__(self,data):
self.data = data
self.ref = None
class LinkedList:
def __init__(self):
self.head = None
def print_LL(self):
if self.head is None:
print("Linked list is empty!")
else:
n = self.head
while n is not None:
print(n.data)
n = n.ref
#DataStructures #PythonPrograms #LinkedList
For more free tutorials on computer programming
/ amulsacademy
AmulsAcademy
I have watched many other courses in udemy and coursera but this is by far the best one than all other courses out there, Thank you so much.
ua-cam.com/video/fPqYoe4YP14/v-deo.html
the most underated python tutorial. ur explanations are simple and humble
Thank you 😊
ua-cam.com/video/fPqYoe4YP14/v-deo.html
This video is going to watched 1M times with 2.3K likes... Totally underrated channel
Wow, you are the only youtuber that knows how to put the idea in the middle of the brain🧠🎯
Haha.. Thank you 😊
Really well explained and concise videos! Hands down the best ones I've come across till now!
Thank you :)
I must say compare to other videos this is the most clear explanation of linked list implementation in Python...very clear... THIS VIDEO IS UNDERRATED....
Thank you :)
@Azariah WessonI don't give a shit
your way of explanation is damn good. Simply understandable and what a beautiful peaceful voice you have mam.
Thank you so much :)
Obviously superbb keep going !
Woman you speak truth.
This was the best explanation for linked lists that I have found on UA-cam so far! You explained every part including the code with great detail! Awesome job!
Literally this one of the best linked list lectures available for beginners on UA-cam . Sister you explained every single step very detailed . Which made it more & more easy for me to understand . Thank you so so much . Keep doing such great lecturers videos on DS. Once again Thank you so so much 😊.
You are one of the best teachers ever❤❤
Thank you :)
simply saying thank you is not sufficient for this channel ..you deserve beyond that ..superb explanation and execution
ua-cam.com/video/fPqYoe4YP14/v-deo.html
For the linked list I watched many videos, but your explanation dam good, from bottom of my heart Thank you
This is the best of the best that i have ever come across concerning linked list. This is awesome. Simple and straight forward
Congrats to me as I found the best teacher for DS and Alg. Thanks much Amulya ❤️
Glad to hear that :)
Mam your explanation was mind blowing and all my concepts of linked list using python are cleared. Thankx mam. 🙏🙏
Glad to hear that 😊
I would Say this is the BEST EXPLANATION VIDEO for this Topic! I have been Struggling to Understand Linked List Since 1 Week and Saw Tons of Videos. But This was the BEST ONE. THANKS SO SO MUCH.
can we write while n.ref is not none in looping condition
My search for best explaination ended after watching this video!! Thank you so much
One of the best video in UA-cam....i will share it to my mates.....very clean and informative.
Kindly make a full playlist on DS with python......with all topics covered plzzzxxzxxzzzzz ma'am 🙏🙏🙏🙏🙏🙏🙏🙏
Thank you, I will :)
Much- Much better then others paid course or free video on youtube , I am iitan even my university professors not able to clear concepts like this
1:56 , the explanation i was looking for . Thank you
At first u were teaching basic so I skipped few seconds but then I realised I can't understand, so I went back and listened properly and I got it..
Thanks ma'am
literally I watched many videos and read many articles regarding the linked list in python , but none was of them where as clear as your video. Plz keep making videos . It would be helpful if you make videos on some complex topics like backtracking , binary tree and other recursion problems
ua-cam.com/video/fPqYoe4YP14/v-deo.html
❤️❤️. My brain's happy now😎
😊😊
Subscribed immediately. This is the best linked list explanation for python I have seen so far. I am really glad I found your channel
Are you a part of creating python program or Guido van Rossum had thought this program to you : ). I have gone through C,C++,Java too concepts are clear but implimentation makes me confuse.But, By your videos everything has cleared . tq for approaching towards Amulya's Acd.
Haha thank you so much 😊
Mam i can't explain that how clearly and beautify you have explained all things. Thank you so much for the tutorial.
A great source to learn LinkedList and other important topics. Thank you very much for being there as a great guide.
Glad to hear that :)
:@@AmulsAcademy when u while talking about traversal 7:06 at this ,, did u meant check or chuck :::??
Fantastic explanation. Very easy to understand. Very clear voice.Thanks a lot.
Pleasure 😊
Who else fall in love with this voice ... just want to see the face
Great explanation . I have an habit of listining the new topi at 1.5x speed. And , still i can understand . U are an great teacher And thanks for the great explaination...
A very nice way of presentation. It really helped me to understand the topic well 👍
Glad to hear that 😊
i watched many videos on linked list, but this one is the best :)
Happy to hear that! :)
This is brilliantly explained!!! Some serious talent here !!! If u can solve a real life problem using linked list Thats wud be great
Thank you :)
Thank u, Clear and allobrated explanation, searched for this type of explanation for many videos
Thank you 😊
The videos are to the point and very easy to understand looking forward for rest of concept (trees and graph)
Thank you :)
bro bro bro thank u so much i have struggling to understand this from 2 days
Thank you so much, Best video out here. Gone through many videos but not was unable to understand a bit
You are incredibly awesome in teaching Data Structures!
outstanding explanation. This is worth it's weight in gold, especially for newbies. tyvm!
The way you explained is really awesome; hats off :) and Thanks
Thank you so much :)
Damnnnnn, I was stucked. Your helped me alot, thankyou so much. You are best. I have watched many other tutorials but the way that you have explained it is much more comprehensive. Thanks for the content. :D
Thanks for making it so simple..
I felt so demotivated before watching this video...
Been trying to implement Linked List in Python but couldn't understand coding part. Nicely explained! :D
Thank you :)
I searched in the net but don't saw algorithm and data structure course thank you mam for creating these series in algorithm and data structures in python
Amazing grip on subject. I have watched many vidoes but this video explain the thing crystal clear. Hats off to you.
Excellent explanation. I was really not able to understand this when i refered many other youtube videos. This one is superrrrrrrrr! I would recommend this for everyone.
Hats off I am reluctant to comment but this totally has made me do it impulsively , wonderful !
Thank you very much for explaining the concept you used 'ref' instead of 'next' unlike other tutorials and it actually aided in building a good intuition,
Once again this is the best LinkedList video available!!!
I Love You so so so much mam. Thanks alot mam. Finally my struggle of finding ds algo using python ending here.
Glad to hear that 😊❤️
You explain far better than my teachers
Thank you :)
Superb and excellent presentation. Keep the good work Mam.
Thanks a lot :)
Thankyou so much for clearing the topic... Tomorrow is my exam of python programming..
I hope this topuc would come ..😊
Thankyou sooo much ...😊😊
Wonderfully explained,never understood linked list better
tysm mam.. i would say it was the best way any one can understand linkedlist in python
Thank you so much for using variable names like ref, makes it so easy to understand. I've finally understood Linked Lists!!
it's great, the way you are explaining is awesome, ur repeating the info again in detail for better understanding with patience
I'm running wild with joy. Eureka! Finally🎉🎉🎉
EXCELLENT EXPLANATION
The best video on Linked list
Really useful. I was searching for such a descriptive video. Thanks Amulya..!!
your are best in data structure
Thank you 😊
Great Explanation mam...watched many other videos..Your videos are incomparable..
You have cleared many of my doubts thanks a lot
Perfect explanation......❤
it is very helpfull to me for understanding linkedist
your way of explanation method is excellent
Thank you :)
Clear and simple explanation, thank you so much!
Best Explanation!!
your explanation is the best
chala baga vivarincharu. dhanyawadalu
great explanations Amulya garu...simply saying thank you is not sufficient for this channel
I used to watch UA-cam videos in 2x speed except your videos , because to listen your voice that's all
Thank you :)
Definitely yes. 😂 First time when i watched i also set to 2x then i get to know the speed is already 2x😂😂
Woahhh this is too good , the way you u explained is too good ma'am .
Thank you 😊
Thanks for the crystal clear session Amulya, I have a query? how to access self.data from class Node Whether i need to inherit class Node in Linkedlist class and how u r calling self.head.data in it?
Can you share the code, so that I can make you understand easily
@@anythingit2399 hey can u explain how self.data and self.ref is used in linkedlist class without inheriting NODE class. Ki fly explain
I fall in love with your tutorial also the voice.
I would like to know when to use LinkedList and array and in what scenarios LinkedList is used???
In Linkedlist adding an element,deleting an element is more efficient when compare to array,array is more efficient in searching the elements
Best tutorial ma'am
Thank you for the knowledge and dedication
My pleasure! :)
Thankyou Amulya.. this series if very helpfull GBU
You explain very clearly, thank you
really clear,
your voice is really beautiful
Super and ur explanation is simply superb
Thank you so much :)
Sister your voice is wonderful
Simple and clean explanation!
Thank you :)
Thanks a lot mam. Your explanation is top notch. It was really helpful. Looking forward to seeing more tutorials from you.
Thanks a lot 😊
Fantastic teaching mam, I have understood well 👍👍👍
Great video. This video helped me.
God bless you 🙏
Glad to hear that 😊
One of the best explanation. Thank you ma'am
Thank you very much for such detailed explanation.
I am waiting for your explanation on Graph algorithms,(BFS, DFS, kruskal Algo. MST, Prime algo. e.t.c) and Trees such as Binary Search Tree, Inorder tree traversal,
Pre order Tree traversal and Post Order Tree Traversal e.t.c
ASAP :)
@@AmulsAcademy yeah we really need it
Mam How Can I Do Best In Data Structure?I Means How Can I Able To Make Programs easily of Data Structure
This lecture was masterpiece
Clean and clear! Kudos!
Thank you 😊
Best explanation !! thank you!
Shouldn't the stopping condition be
While n.ref is not None? instead of
While n is not None? Please clear my doubt
It won’t print data of last node then . :)
@@AmulsAcademy ok thank you
Pleasure :)
is there any way to get notes of your lesctures ma'am?
I really appreciate your work . Very nice.👍👏
Thank you 😊❤️
mam thankyou so much best video of linked list....
Most welcome 😊
thank you so much for your good leacture
Finally 😌😌😌😌 .Best explanation ever
Kudos to you, Job well done...
Thank you :)
Damn how old r u?
Ur explanation is insane
Really thanks for such a beautiful video
Keep it up