Linked List - Data Structures in Python #1

  Рет қаралды 9,543

NeuralNine

NeuralNine

Күн бұрын

Пікірлер: 47
@taufiqurrahmansagafkelrey2833
@taufiqurrahmansagafkelrey2833 Ай бұрын
I like these kinda video, the prep code is not prepared enough, and that makes this video more relatable, we're all just... human.
@NeuralNine
@NeuralNine Ай бұрын
Yeah I noticed in the middle of it that I did not finish the Doubly Linked List example 😂
@ThomasShelby-obe1
@ThomasShelby-obe1 7 күн бұрын
Hi there NeuralNine, first of all, thanks for great video. Second, I think there's one case that you missed with function pop(). So it worked fine because normally we barely test with index 0. I guess you can consider this before we do the loop for i in range(index-1): I think we need to check for index is 0 to pop the first index. for linked_list, it will be: if index == 0: self.head = last.next for doubly linked list , it can be: if index == 0: last.next.prev = self.tail self.head = last.next
@Skywalker_9618
@Skywalker_9618 Ай бұрын
I was looking for dsa in python and you dropped this vid.
@piotrmazgaj
@piotrmazgaj Ай бұрын
Literally what I am doing right know! I will check your solution as soon as I try to finish my own. Thanks!
@ZeckTTV
@ZeckTTV Ай бұрын
Absolute legend, this new series is going to change people's lives!
@piotrmazgaj
@piotrmazgaj Ай бұрын
This is my seal. I have watched the entire video, understood it, and I can explain it in my own words, thus I have gained knowledge. This is my seal.
@NeuralNine
@NeuralNine 25 күн бұрын
🎉
@АндрейТитов-ж7л
@АндрейТитов-ж7л Ай бұрын
Thank you, sir! This is exactly what I need!
@JLSXMK8
@JLSXMK8 Ай бұрын
30:53 The key might be sticky; replacing the keycap might help, or cleaning the keyboard to remove dirt or debris around the key may help as well. If this won't work, adjusting the repeat rate may fix the issue via "kbdrate" on some Linux machines. Check your terminal using "man kbdrate" for more information. If adjusting the rate of keyboard responses does not fix the issue after checking for any debris on said keyboard, the keyboard may need replaced.
@theseb1979
@theseb1979 Ай бұрын
Could be the switch failing for the E key. I had an issue with a mouse right click switch that had similar symptoms. Sometimes no click; sometimes double click
@JLSXMK8
@JLSXMK8 Ай бұрын
@@theseb1979 There are switches for mice too? Thanks for the info. So, does that mean the keyboard will need replaced asap? Or, could they replace the switch for the E key easily?
@NeuralNine
@NeuralNine Ай бұрын
Thanks for the tip, I returned the keyboard, bought the same again and the issue is now partly resolved. However I feel like the sensitivity of the red switches leads to keys being sent multiple times if I don't press them hard enough.
@theseb1979
@theseb1979 Ай бұрын
@@JLSXMK8depends on the keyboard. I buy mechanical keyboards with hot swappable switches, so it’s easy.
@carlo_geiss
@carlo_geiss Ай бұрын
perfect ... i like your lessons very much
@NeuralNine
@NeuralNine 25 күн бұрын
Thanks for watching!
@dmitryutkin9864
@dmitryutkin9864 Ай бұрын
Great tutorial! IMHO __iter__ and reverse functions would be great to add
@AGASTRONICS
@AGASTRONICS Ай бұрын
❤🎉 Amazing
@alexl4447
@alexl4447 Ай бұрын
I never used linkes list. On which case, linked list is usefull?
@dipeshsamrawat7957
@dipeshsamrawat7957 Ай бұрын
Good. Do you have playlist for its C implementation?
@ShubhamMishra-gc5ow
@ShubhamMishra-gc5ow Ай бұрын
Very cool. I hope you will make a large playlist for DS using python
@alexanderkomanov4151
@alexanderkomanov4151 Ай бұрын
Awesome!
@denisevp9431
@denisevp9431 Ай бұрын
very useful guide
@NeuralNine
@NeuralNine 25 күн бұрын
Thanks!
@tafaranyamhunga
@tafaranyamhunga Ай бұрын
Sorry man, what whiteboard is that? Looks cool.
@NeuralNine
@NeuralNine Ай бұрын
If you mean the physical one in the back, it's a simple Amazon Basics whiteboard. If you mean the digital one, it's MyPaint.
@menshift
@menshift Ай бұрын
woow......................😌
@theonewhotouchedthesky5776
@theonewhotouchedthesky5776 Ай бұрын
Hey was wondering if anyone can recommend a dsa library for python?
@Rodrigo_Pimenta
@Rodrigo_Pimenta Ай бұрын
This is interesting
@NeuralNine
@NeuralNine 25 күн бұрын
👍🏻
@Al_Miqdad_
@Al_Miqdad_ Ай бұрын
good one thank you alot I wish if you could slow down and its better for me to make step by step progress, you made all the functions finally you try it once I mean if you could make one by one and try it also one by one I hope you understand my point 😅
@NeuralNine
@NeuralNine 25 күн бұрын
Slowing down is difficult for me 😅 I like to show all function at once because they are somewhat related. I need to be able to visualize the content to see if the insertion works etc.
@Shivamyadav-rp7eh
@Shivamyadav-rp7eh Ай бұрын
Great
@chris993361
@chris993361 Ай бұрын
Maybe you cover this later in the video cuz I haven't finished yet but shouldn't pop also return the value?
@adityagautam4689
@adityagautam4689 Ай бұрын
Depends on your use case of that data structure But, do note that if you are taking DSA as a course in your institution, there is like a 99% chance that you are required to return the popped value
@ayushmittal9441
@ayushmittal9441 27 күн бұрын
sir please solve some problems on these topics along these topics
@NeuralNine
@NeuralNine 25 күн бұрын
I have the Codewars playlist where I solve coding challenges if you are interested in that.
@Stefch2
@Stefch2 18 күн бұрын
Great spaghetti meatballs (bugs).
@dauduong6906
@dauduong6906 Ай бұрын
Queues and Trees
@NeuralNine
@NeuralNine 25 күн бұрын
Will be part of the series!
@sp5xyz
@sp5xyz Ай бұрын
tactical comment
@alexneigh7089
@alexneigh7089 23 күн бұрын
Одобрямс.
@Kaassap
@Kaassap Ай бұрын
Never felt need for a linkedlist in python because lists are already dynamically allocated.
@NeuralNine
@NeuralNine 25 күн бұрын
We don't implement these data structures to use them in projects. We implement them to learn about them so that we can get better at problem solving and pattern recognition, which is a crucial skill. I agree, you will probably never use a class like this in a project.
@Kaassap
@Kaassap 25 күн бұрын
@@NeuralNine Yes I totally agree on the pedagogy. What I mean is that for me as a non computer scientist / software engineer starting out with python it was never so clear why linked lists mattered. Until I learned what heap and stack are and how python lists are actually implemented.
Stack - Data Structures in Python #2
14:01
NeuralNine
Рет қаралды 2,9 М.
Introduction to Linked Lists (Data Structures & Algorithms #5)
18:47
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 26 МЛН
How many people are in the changing room? #devil #lilith #funny #shorts
00:39
SIZE DOESN’T MATTER @benjaminjiujitsu
00:46
Natan por Aí
Рет қаралды 8 МЛН
Thank you Santa
00:13
Nadir Show
Рет қаралды 53 МЛН
PyPy: The Faster Brother of CPython
10:26
NeuralNine
Рет қаралды 992
What's coming in Python 3.14?
6:24
Carberra
Рет қаралды 14 М.
10 Important Python Concepts In 20 Minutes
18:49
Indently
Рет қаралды 332 М.
15 POWERFUL Python Libraries You Should Be Using
22:31
ArjanCodes
Рет қаралды 60 М.
What does '__init__.py' do in Python?
6:50
Indently
Рет қаралды 89 М.
10 Python Comprehensions You SHOULD Be Using
21:35
Tech With Tim
Рет қаралды 159 М.
What's New in Python 3.13?
19:02
NeuralNine
Рет қаралды 10 М.
Singly Linked List | Insert, Delete, Complexity Analysis
14:39
Blue Tree Code
Рет қаралды 62 М.
Hash Map - Data Structures in Python #4
33:11
NeuralNine
Рет қаралды 3,2 М.
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 26 МЛН