Data structures: Binary Search Tree

  Рет қаралды 1,366,001

mycodeschool

mycodeschool

Күн бұрын

Пікірлер: 388
@supastar25
@supastar25 4 жыл бұрын
I absolutely LOVE how you started off by showing the common operations and their time analysis for Arrays and Linked lists before introducing BST. Sometimes you just know these things but not exactly WHY the need for them in the first place. Thanks.
@Lyriks_
@Lyriks_ 3 жыл бұрын
totally agree with you
@ajaysabarish9645
@ajaysabarish9645 7 жыл бұрын
yours is perhaps the only lectures series that doesn't confuse students with unnecessary things,it is really great,thank you very much
@AteebAkmal-x5h
@AteebAkmal-x5h 19 күн бұрын
After looking at many videos online of many different youtubers. This is the best one. The way he introduced arrays and linked list first and the issues with them and how can we fix your issues is exactly what everyone needs to know
@leixun
@leixun 4 жыл бұрын
*My takeaways:* 1. Computation complexity comparison of searching/inserting/removing elements in Array (sorted, unsorted), linked list and binary search tree (balanced) 0:00 - 9:28 2. What is balanced binary search tree and why it is efficient for searching 9:30 3. Unbalanced binary search tree 16:22 3. Insert and remove elements in balanced binary search tree is also efficient 17:44
@ccossmin
@ccossmin 2 жыл бұрын
Honestly this was one of the best, if not *the* best algorithm exploration I've ever seen. Congratulations to the author(s)!
@mrspock7277
@mrspock7277 2 жыл бұрын
One of the authors died in a hit and run case, back in 2014. It’s really a great loss. The other one is working for google in Silicon Valley.
@ArpanPathak
@ArpanPathak 9 жыл бұрын
You are the best teacher in this planet .....
@zahirjacobs716
@zahirjacobs716 7 жыл бұрын
He was. R.I.P.
@peachyspalace
@peachyspalace 7 жыл бұрын
Hes dead? Didnt he upload a video 5 months ago?
@AhmedHadiPADI_scuba_instructor
@AhmedHadiPADI_scuba_instructor 7 жыл бұрын
are you serious ?
@zahirjacobs716
@zahirjacobs716 7 жыл бұрын
Ahmed Hadi unfortunately I am. Sometime in 2014 already. There is a Quora answer about this written by the cofounder of this channel. Google humblefool.
@sourabhsingh4058
@sourabhsingh4058 5 жыл бұрын
@@zahirjacobs716 nop brother he is alive
@WolfKelley1
@WolfKelley1 3 жыл бұрын
Hands down the best and most clear cut example on binary search tree so far. Thank you.
@dineshbhonsle6524
@dineshbhonsle6524 8 жыл бұрын
Very crisp and clear, it was 16 years since i graduated and never brushed up on this topic. Excellent !
@vishalsnsingh
@vishalsnsingh 4 жыл бұрын
I left my college lectures to study this video, wonderful and easy explain!
@tutorialshub4232
@tutorialshub4232 10 жыл бұрын
Dear brother, your lectures have indeed helped me a lot for my university studies. Thank you so much for putting up this selfless effort. May God reward you with goodness.
@brianspain4252
@brianspain4252 7 жыл бұрын
You sir are an incredible teacher. Your delivery and pace is so easy to understand. Thank you for the great content.
@karthikkumaresan1091
@karthikkumaresan1091 11 ай бұрын
He won't hear you. He passed away in an accident, a year after these lessons came out.🙁
@temitopeoyeyemi899
@temitopeoyeyemi899 6 жыл бұрын
if you have exam this morning skip and start at 9:53
@saitaruns
@saitaruns 4 жыл бұрын
And play the video in 2x
@akashlenka4068
@akashlenka4068 4 жыл бұрын
@@saitaruns 🌝😅
@tasty0rang3
@tasty0rang3 3 жыл бұрын
@Ammie Zolman wow! a shady comment posted minutes after, i’m gonna believe this :D
@piyushagarwal5830
@piyushagarwal5830 3 жыл бұрын
@@tasty0rang3 lol
@kirind7181
@kirind7181 3 жыл бұрын
thanks dude
@moiqubal
@moiqubal 10 жыл бұрын
You give an excellent lecture. Please don't change a thing.
@ananyadixit1215
@ananyadixit1215 5 жыл бұрын
I literally loved the way you turn things and make it go concrete in our head..! You are surely a life saviour 🙏
@evanl5299
@evanl5299 7 жыл бұрын
Excellent explanation. I wish my university classes were this concise and well-explained.
@malkavian6275
@malkavian6275 4 жыл бұрын
One of the best explanations I've seen on any subject, I understand this perfectly now. Thank you!
@UshaPonnada
@UshaPonnada Жыл бұрын
You are a great teacher and confident teacher with profound knowledge
@GintoPlays
@GintoPlays 4 жыл бұрын
This is a really concise and clear explanation of a BST. Thank you!
@megr
@megr 2 жыл бұрын
One of the best videos I've seen regarding data structures. Thanks for sharing the knowledge.
@nihaanali5923
@nihaanali5923 7 жыл бұрын
Better explanation than my university lecturer. Thank you!
@sudhirsharma2902
@sudhirsharma2902 3 жыл бұрын
Man! the teaching level is just amazing. Respect for the knowledge and research behind this level of content-creation. Thanks with all my heart ❤️.
@karthikkumaresan1091
@karthikkumaresan1091 11 ай бұрын
He was a pioneer of DS teaching in India but passed away at age 30. ☹
@___vijay___
@___vijay___ 4 жыл бұрын
You have done something very good. We are getting good knowledge because of you. Thank you.
@RahulKumar-wk2jp
@RahulKumar-wk2jp 6 жыл бұрын
You all lectures are very simple and understandable...thanks a lot..keep working like that..
@joeybing3476
@joeybing3476 9 жыл бұрын
simply the best. I'd say your method of explanation is great.
@anubhavsinghal9218
@anubhavsinghal9218 6 жыл бұрын
I just checked out your videos on BST and I must say, Thank you very much. That was amazing....I mean now I know the basic functionality of BST.
@gloriakinya3986
@gloriakinya3986 3 жыл бұрын
Well,, been taught this in an online class and grasped nothing but here, still online am getting it all🤗🤗Thankyou
@tr2494
@tr2494 6 жыл бұрын
your videos are really helpful , moreover they convey all the info with so much of ease of understanding , and so efficiently , love your work , its great .and thanks from my side and as well as from the whole freshers in my college cause about more than 90% watch these for sure .
@aaradhanah5059
@aaradhanah5059 5 жыл бұрын
I am emotional after hearing about this guy's story he is Harsha Suryanarayanan from IIIT-A, he was the highest rated geek in Topcoder in India he mentored his juniors but unfortunately he died while crossing a road, I am happy that he is still mentoring lot of us. #TributeToHarsha
@r.m.harish5529
@r.m.harish5529 4 жыл бұрын
Don't spread false information that was his friend. He is still alive.
@aaradhanah5059
@aaradhanah5059 4 жыл бұрын
@@r.m.harish5529 why do I want to spread false information, am I getting any awards for it, before arguing check news yourstory.com/2014/06/techie-tuesdays-humblefool?
@r.m.harish5529
@r.m.harish5529 4 жыл бұрын
@@aaradhanah5059 bro the person who actively controlled this channel was the co founder animesh. He is alive and well. Harsha does not make the videos, animesh does.
@aaradhanah5059
@aaradhanah5059 4 жыл бұрын
@@r.m.harish5529 This channel is not active, it is a teamwork between harsha and animesh, If he is alive this channel might me active, also I wish animesh to teach us, I just made a comment to appreciate harsha's dedication reply before researching about it
@r.m.harish5529
@r.m.harish5529 4 жыл бұрын
@@aaradhanah5059 atleast now you accept that it's a teamwork. I only corrected you earlier because you made it seem like it was an effort only by Harsha. Other people may not know about animesh, who made these videos. I hope you understand and take it in the right sense sorry if I hurt you by saying u spread false info
@liliayu
@liliayu 9 жыл бұрын
It's very helpful, Thank you for your explanation
@lpcruz5661
@lpcruz5661 9 жыл бұрын
Do some more computer science stuff. You are articulate and easy to understand. I like it when you repeat to re-enforce the concepts. Well done.
@photinoman
@photinoman 8 жыл бұрын
Thank you, I just need popcorn to watch the rest of your videos!
@adarshverma3372
@adarshverma3372 4 жыл бұрын
when you talk about time complexity ,why to use trees i stooped the video and liked it and do this comment for thanking you for this level of explanation
@lupsik1
@lupsik1 4 жыл бұрын
Its a basic thing you have to know if youre studying for an algorithms/data-structures exam, so its not really surprising he covered it. Like almost any operation you learn in CS, one of the first questions are always "What is the avg. time complexity ? what is the optimistic/pessimistic time complexity ? What is the space complexity ?" And those are really important questions, its awesome you recognised the significance of that, means you have proper intuition : )
@aniruddhashahapurkar9244
@aniruddhashahapurkar9244 4 жыл бұрын
Best explanation I have ever seen for a data structures' concept!
@deepakbhatt799
@deepakbhatt799 4 жыл бұрын
Great lecture sir, these 20 mins are worthy. Thank you sir.
@createprince2093
@createprince2093 8 жыл бұрын
This is super great. Your explanations are concise and understandable and the graphics really help. Thanks for making these :) I will definitely be watching more of these data structure lessons!
@liemh9290
@liemh9290 5 жыл бұрын
There need to be a compiled list of KZbin courses. best ones like this make the list. THERE are too many.
@coolguy9616
@coolguy9616 2 жыл бұрын
Hey man I know you'll never see this but I appreciate you
@akashvarde
@akashvarde 6 жыл бұрын
I PAUSED THE VEDIO TO GIVE A LIKE AND SUB , NICE EXPLANATION ! KEEP IT UP
@colorpanda8409
@colorpanda8409 8 жыл бұрын
Simple and clear, helps a lot, thank you very much.
@fsyk1306
@fsyk1306 2 жыл бұрын
Hey man it's been 5 years. How far have you come?
@sabyasachidas6115
@sabyasachidas6115 3 жыл бұрын
Petition to restart @mycodeschool !!!
@anoniem012
@anoniem012 4 жыл бұрын
Very good, thank you! For showing the necessity of learning this first.
@AGentlemansGaming
@AGentlemansGaming 3 жыл бұрын
You just explained in 19min what my professor took 3 hours and 45 slides to do.
@satvikkhare1844
@satvikkhare1844 3 жыл бұрын
RIP the best DSA teacher internet had ever seen.
@Pimpinpark777
@Pimpinpark777 7 жыл бұрын
Video starts at 9:38. You're welcome
@usurper1091
@usurper1091 6 жыл бұрын
Makaveli You r a hero
@afsanamimi2858
@afsanamimi2858 6 жыл бұрын
Hahahahhahaha
@matiasmiraglio6894
@matiasmiraglio6894 5 жыл бұрын
I learned a lot about arrays lol
@thung...7373
@thung...7373 5 жыл бұрын
Tq
@shujuanchen4646
@shujuanchen4646 5 жыл бұрын
I was going to leave the video hahaha thx
@ainbrisk545
@ainbrisk545 Жыл бұрын
thank you so much! I appreciate you starting with the problem, made the rest of the video easier to understand :)
@prashant3735
@prashant3735 5 жыл бұрын
I like your way of teaching....My teachers also study your lectures before coming to class :D
@rodgersbyarugaba3904
@rodgersbyarugaba3904 8 жыл бұрын
Better explanation than my university lecturer could manage.
@b.f.skinner4383
@b.f.skinner4383 3 жыл бұрын
You're an amazing teacher, thank you
@gakateke5036
@gakateke5036 5 жыл бұрын
rest in peace. and thank you very very much
@AbinayaThiyagarajan777
@AbinayaThiyagarajan777 5 жыл бұрын
Rest in peace????
@akshatw7866
@akshatw7866 5 жыл бұрын
What??
@gauravnegi7871
@gauravnegi7871 5 жыл бұрын
@@AbinayaThiyagarajan777 Yes bro @humblefool is no more, but he will always be remembered.
@AbinayaThiyagarajan777
@AbinayaThiyagarajan777 5 жыл бұрын
@@gauravnegi7871 Oh Gosh!!!! 😱 Thats Shocking. Rip
@tusharf5
@tusharf5 5 жыл бұрын
This is not that guy, this is his partner.
@nikhilchoudhary2955
@nikhilchoudhary2955 7 жыл бұрын
Best tutorial for data structures ever had Subscribed:)
@deepakjain-dr7ds
@deepakjain-dr7ds 9 жыл бұрын
please upload more data structures videos ! its really helpful !
@Rajkumar-oo6bv
@Rajkumar-oo6bv 4 жыл бұрын
Best explanations of data structure. Loved it!!
@zonenetplus
@zonenetplus 10 жыл бұрын
Great !! very easy to follow and understand. Thank you very much !
@kellybmackenzie
@kellybmackenzie Жыл бұрын
Thank you so much, this is so incredibly helpful! I really appreciate it!!
@MrIglaq
@MrIglaq 8 жыл бұрын
At 7.22 min u mentioned about inserting element into sorted array by performing 2 steps: 1)- find the position in array (use Binary Search -O(logn)) and 2)- shift all records (O(n)). How overall complexity time is O(n), since we have the sum of O(n)+O(logn)?
@mohitsaraswat8504
@mohitsaraswat8504 7 жыл бұрын
Great bro Helped a lot for my exams
@mashable8759
@mashable8759 8 жыл бұрын
BEST EXPLANATION EVER!
@pavan.nprabha9724
@pavan.nprabha9724 6 жыл бұрын
Thank u for explain that concept sir.
@pramaynikhade99
@pramaynikhade99 6 жыл бұрын
There's so much of clarity....you really eel so enlightened :)
@kranthitech
@kranthitech 10 жыл бұрын
Thanks for making this.. cleared some concepts :)
@ashwinikumar3721
@ashwinikumar3721 5 жыл бұрын
Thanks...You really are a great Teacher
@avaneeshyadav124
@avaneeshyadav124 8 жыл бұрын
Nicely Explained in a very excellent way...Thanks Sir
@murtuzabohari7122
@murtuzabohari7122 9 жыл бұрын
@mycodeschool really good lec. Were really helpful for viva. Kudos to you!!!
@kodaph
@kodaph 5 жыл бұрын
Thanks for having a better English than others
@akhilkola8124
@akhilkola8124 9 жыл бұрын
Excellent explanation and its really good videos
@nullbyte2215
@nullbyte2215 5 жыл бұрын
Great explanation. Could you please enable the fan funding option so we can donate to this channel. We need more content like this. We know humblefool, not with us. We need more from this channel.
@nabeelsyed8123
@nabeelsyed8123 5 жыл бұрын
Brother kaafi badiya sanjaya hai aapne
@pawanparashar9370
@pawanparashar9370 3 жыл бұрын
Godfather of DSA 🔥
@kesharwani.prashant
@kesharwani.prashant 3 жыл бұрын
Thank you, you have great teaching skills
@hofsepzakharyan5838
@hofsepzakharyan5838 9 жыл бұрын
you explain it wonderfully.. subscribed ;)
@SonuSonu-tk5pk
@SonuSonu-tk5pk 7 жыл бұрын
why dont u go to ur country and study
@wisharya
@wisharya 6 жыл бұрын
what a reply man
@vipin_mishra19
@vipin_mishra19 5 жыл бұрын
U r awesome....I don't know how to thank to you...but literally ur explanation is too good
@TheLionheartCenter
@TheLionheartCenter 5 жыл бұрын
You are an amazing teacher thank you
@timalbathiya
@timalbathiya 4 жыл бұрын
AMAZING explanation. Thanks
@sanatit6429
@sanatit6429 7 жыл бұрын
Your English is very good.grate job.
@tejasarlimatti8420
@tejasarlimatti8420 6 жыл бұрын
somebody give this guy a Nobel
@mizeravel
@mizeravel Жыл бұрын
Thats an amazing lecture, thank you for the content.
@faizanali-gr8yx
@faizanali-gr8yx 5 жыл бұрын
next level teaching
@mohammedafnanshariff3142
@mohammedafnanshariff3142 4 ай бұрын
Thank you so much for these videos.
@AhmedKhaledCH3
@AhmedKhaledCH3 9 жыл бұрын
We can make a tail pointer which points to the end node of the linked list and add the newly created node to the end of the list with traversing from the head or the beginning and it will cost O(1).
@adityaravishankar8344
@adityaravishankar8344 9 жыл бұрын
+Ahmed Kh'aled You need to traverse as you need to know where to insert the element For eg., if LL: 1;2;5;7;8;9 and you want to insert 6, we cannot just make a pointer and insert at the rear end. We have to traverse from left to right LL: 6;1;2;5;7;8;9 [wrong] LL: 1;6;2;5;7;8;9 [wrong] LL: 1;2;6;5;7;8;9 [wrong] LL: 1;2;5;6;7;8;9 [correct]
@AhmedKhaledCH3
@AhmedKhaledCH3 9 жыл бұрын
I must had said without back then. When I create a new node it updates a pointer called "tail" for instance. So whenever I want to add a node to the end of list I just get the address from "tail" and point it the one I want to create and which will be the new "tail", got it?
@bravheart95
@bravheart95 9 жыл бұрын
و انا هيك بعمل .. اسهل و اسرع 👍
@stephan24297
@stephan24297 6 жыл бұрын
I'm a bit late to the argument, but I agree with you. If you know the iterator already, then it is O(1). Else, you will have to find the iterator in which case it would be O(n).
@stephan24297
@stephan24297 6 жыл бұрын
This is also adding on to the argument. It is from cplusplus.com "Unlike other standard sequence containers, list and forward_list objects are specifically designed to be efficient inserting and removing elements in any position, even in the middle of the sequence."
@selamainalem8728
@selamainalem8728 7 жыл бұрын
excellent explanation and example, will follow for more!
@TheVatsri
@TheVatsri 7 жыл бұрын
You're a savior!
@sebastianback
@sebastianback 3 жыл бұрын
Great explanation! Thank you!
@architmittal8659
@architmittal8659 6 жыл бұрын
please provide the video for learning hashtables, maps, heaps plzzzz......you are the best!!!
@jonbikaku6133
@jonbikaku6133 6 жыл бұрын
Arey I finally realised that you were trying to say ARRAY instead of arey lol. But really clear explanation. Thanks!
@sudharakafernando4391
@sudharakafernando4391 3 жыл бұрын
it helped a lot.Thank you!
@ghostonerider6354
@ghostonerider6354 10 жыл бұрын
Excellent lecture, thanks for posting!
@kimgss1
@kimgss1 2 жыл бұрын
Thank you for being awesome!
@mandar.vaidya
@mandar.vaidya 4 жыл бұрын
One of the best ...
@SesameKiller
@SesameKiller Жыл бұрын
excellent explanation
@RaviShankar-gm9of
@RaviShankar-gm9of 5 жыл бұрын
excellent explanation it's awesome...
@gauthambekal235
@gauthambekal235 6 жыл бұрын
Very good explanation.
@dukememo8524
@dukememo8524 6 жыл бұрын
Very good video, very calming voice gj buddy
@JamesBrodski
@JamesBrodski 3 жыл бұрын
Thank you so much! What a great video!
@dollarakshay
@dollarakshay 10 жыл бұрын
I know this is probably something simple, but it shows you how beautiful Programming can be :) Do watch it.It might inspire you to come up with something cool of your own : Java : Binary Tree Animation Just thought ill post it here since it is sort of related.
@learningisfun3791
@learningisfun3791 4 жыл бұрын
Great explanation sir
@irfan0066
@irfan0066 10 жыл бұрын
way to speaking is superb dude...
@ruchitakadu5396
@ruchitakadu5396 7 жыл бұрын
Very helpful...thanku so much sir...great explanation😘
@nurshuvo3854
@nurshuvo3854 2 жыл бұрын
Nice explained
@linustorvalds5190
@linustorvalds5190 7 жыл бұрын
Your videos are great, thank you so much
@seanodonnell6119
@seanodonnell6119 8 жыл бұрын
you are a god to me, sir
@srijanyaprasad
@srijanyaprasad 10 жыл бұрын
Thanks a lot ..Very easy to understad
Binary search tree - Implementation in C/C++
18:36
mycodeschool
Рет қаралды 1,3 МЛН
Data structures: Introduction to Trees
15:50
mycodeschool
Рет қаралды 1,5 МЛН
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 6 МЛН
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 97 МЛН
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 118 МЛН
Understanding B-Trees: The Data Structure Behind Modern Databases
12:39
Data structures: Binary Tree
16:17
mycodeschool
Рет қаралды 1,4 МЛН
Top 7 Algorithms for Coding Interviews Explained SIMPLY
21:22
Codebagel
Рет қаралды 444 М.
AVL Trees & Rotations (Self-Balancing Binary Search Trees)
20:38
Back To Back SWE
Рет қаралды 352 М.
Binary tree traversal: Preorder, Inorder, Postorder
14:29
mycodeschool
Рет қаралды 964 М.
10.1 AVL Tree - Insertion and Rotations
43:08
Abdul Bari
Рет қаралды 1,2 МЛН
Learn Binary search trees in 20 minutes 🔍
20:25
Bro Code
Рет қаралды 184 М.
KD-Tree Nearest Neighbor Data Structure
6:39
Stable Sort
Рет қаралды 122 М.
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 6 МЛН