Learn the basics of trees, data structures. This video is a part of HackerRank's Cracking The Coding Interview Tutorial with Gayle Laakmann McDowell. www.hackerrank.com/domains/tut...
Пікірлер: 366
@timgoppelsroeder1215 жыл бұрын
Finally someone who explains a concept without unnecessarily complicating it thank you
@bojanstefanovski9507 Жыл бұрын
daaaaaaaaaaaaaaaaa!
@b14ckh4wk3 Жыл бұрын
Log sum * COS
@bullymaguire2335 Жыл бұрын
simp XX ∪
@rajsaroj46964 жыл бұрын
2020 but, this playlist saving lives
@pichass93373 жыл бұрын
It was made only 4 years ago...
@MattaparthiShivaBhargav3 жыл бұрын
Tree saves lives
@SlavaCh3 жыл бұрын
Indian Lives Matter
@TheVishal383 жыл бұрын
2021
@Rajmanov3 жыл бұрын
@@SlavaCh all lives matters
@tochinwa12345 жыл бұрын
Gayle is a living legend ! Makes data structures and algorithm a doddle. Thanks Gayle. 😘
@maazbinmustaqeem5 жыл бұрын
She just goes through the recursion in a very light way with good animation tool. Loved it. Thanks!
@amyp27335 жыл бұрын
Your data structures videos are so helpful! You’re really good at explaining them quickly
@MegaMoses913 жыл бұрын
This was the best Tree DS explanation I have watched. She’s amazing!
@flacodoom7 жыл бұрын
Very well explained code. Trees always give me problems when asked in tests.
@adithyarajendran63935 жыл бұрын
Lol
@dashnaidoo80173 жыл бұрын
in 2021 and this is still the most simple and well explained version. Thanks Gayle
@jeremiahgray10172 жыл бұрын
Jeez what more could you ask for. Clear, concise, and straight to the point
@anaibrahim43615 жыл бұрын
saved me thousands of hours to understand this thank you sooo much very professional explanation
@mocao32052 жыл бұрын
This video was so beautifully explained, it's no wonder my lecturer recommended it. Thank you very much for your video.
@tahirrazavi78626 жыл бұрын
She is literally amazing !
@stewartzayat75266 жыл бұрын
Recursion is such a powerful tool!
@Alex-sg6tz6 жыл бұрын
It is until ..... stack overflow
@petegeorgopoulos10886 жыл бұрын
be careful tho. A lot of people overuse recursion because they wanna be fancy. But remember, recursion builds a stack in memory and does not release it until it works it's way back to the first call. This could lead to some issues. Most things that people use recursion for can be easily done with a simple loop.
@shellgecko6 жыл бұрын
only when you have few data otherwise you'll have to use alternatives like dynamic programming
@georgievvladimir5 жыл бұрын
and such a exhausting struggle for the stack
@niesamain18713 жыл бұрын
@@shellgecko dafuq are you talking dynamic programming for stack?
@denniswave956 жыл бұрын
This was a really clear explanation. Thank you!
@granturismoautos75227 жыл бұрын
this is AMAZING!! Well explained!
@shilpaarora88413 жыл бұрын
Really crisp , clear and easy explanation. DS became so easy to grasp the way you explained.
@rishabh39526 жыл бұрын
short and on point that's wat I wanted.saved my time! thanks.
@bik83535 жыл бұрын
Thank you for this vivid walkthrough of the code. This is one of the best of this kind
she is so talented! Learned this right away thanks to her
@MrSchmidt97 Жыл бұрын
Wow, this was precise, easy to follow and I feel I understood what is going on Really great stuff!
@himanshusuthar71585 жыл бұрын
Well explained. Exactly what I needed. Thank you.
@upgames13136 жыл бұрын
this was so well explained and clear! thank you!
@codeisawesome3697 жыл бұрын
You're awesome Ms. McDowell! Many thanks.
@progtom75853 жыл бұрын
I love the presentation of code alongside diagrams as im a visual learner, really appreciate it.
@mikelk1246 ай бұрын
Very well explained. I found how you visually grouped the "paths" of recursive calls helpful to understand what was happening when "traversing" the tree.
@SuperOneWinged7 жыл бұрын
I love your videos so much, keep it up, you are one of the best
@thelambsauce20152 жыл бұрын
Very informative and straight-forward video, thank you!
@response2u6 жыл бұрын
Very nicely explained! Well done!
@118andrey2 жыл бұрын
Thank you, finally someone who doesn't take an hour to explain a 5 minute topic
@hritikbansal144 жыл бұрын
More than amazing. Such a simple explanation. Well taught. Thanks HackerRank...
@vigneshram74647 жыл бұрын
Well explained. Works like charm !! Thanks
@abdallaelmedani89335 жыл бұрын
Thank you, Gayle. Well explained.
@gabrielpereiramendes34635 жыл бұрын
Awesone. Thanks from Brazil. Excelent explanation!
@jamesjohn83973 жыл бұрын
Excellent explanation !! I can tell you, you have done excellent work, simple clear, and concise well done !! and thank you !!
@jmskks21556 жыл бұрын
Amazingly well explained. very very helpful.
@motezart28675 жыл бұрын
Best run down of trees I've seen. Code with examples after is very effective.
@brendabrownofficial5 жыл бұрын
Never knew HackerRank had a youtube channel, the explanations are so good. Thank you for making these!!!
@Wiseman_RSA5 жыл бұрын
At least you found out 8 months ago, I just found out now
@Cfuzion2 жыл бұрын
@@Wiseman_RSA Atleast u found out 3 years ago..
@elliemay17485 жыл бұрын
Very excellent explanation, clearest one I’ve ever heard. Deleting needs its own video, so I understand why you decided not to include it. On programming tests, I’m always like “can I not write out all the recursion methods? I hate writing all the if statements... we both know what we are talking about, this is a binary search tree ok?” haha.
@freestyle88867 жыл бұрын
Great videos, helped me so much, ty!
@-0-__-0- Жыл бұрын
I've created a JavaFX App that animates a Binary Tree from an array and this video solved most of my problems. Thank you so much!
@tanihakdog12913 жыл бұрын
i understand your teachings better than my prof. nice video!💜
@mav4743 жыл бұрын
Thank you for posting such a useful article!
@haruruben6 жыл бұрын
Thanks for making these videos!!! So helpful
@ManuelRochaCR7 жыл бұрын
Very well explained. Thank you!
@will55253 жыл бұрын
3 years later and this playlist still getting people jobs😎
@grimma92263 жыл бұрын
which playlist?
@RadostinaChipanova3 жыл бұрын
You are an amazing educator! Thank you
@FarizDarari7 жыл бұрын
Very clear explanation, and nice drawings!
@raha51843 жыл бұрын
This is very well-explained, thanks!
@obakengmothusi9149 Жыл бұрын
You are phenomenal... Loved your video.💕💕
@angelesfigueredo57402 жыл бұрын
Such an amazing explanation!!! Thanks for your video
@addyli69246 жыл бұрын
thank you! love this video
@wenkaiyang14875 ай бұрын
Thank you so much for the explanation!
@hiteshmehta6164 жыл бұрын
This explanation makes my life simple against Binary Tree Thanks Alot !! :)
@RandyPfohl4 жыл бұрын
I would have expected the insert and contains functions to be in a Tree class of some sort, and the node to be an internal implementation operating on a comparable interface. So we can return just the data not the node itself. I know it's outside of the scope of this video, but wondering if it's a common practice to put this logic inside of the node class.
@ihabfam10595 жыл бұрын
Very excellent explanation, Good Job
@nicgold4744 жыл бұрын
It was awesome. great presentation. Thank you so much.
@75hilmar2 жыл бұрын
Just what I needed right now.
@leoali904 жыл бұрын
Loved the explanation!
@virginman1017 жыл бұрын
is the contain(value) basically functionception ?
@realworldcodingapplications11 ай бұрын
wow this was pretty simple explanation and easy to understan thanks
@conag98644 жыл бұрын
Great explanation!
@vasanthane84253 жыл бұрын
Really Great Video and Explanations within short minutes which we can understand the concept. Kudos!! Team.
@anhminhtran74366 жыл бұрын
Great videos! Your code is very easy to understand. Thanks =))
@Yusifinify2 жыл бұрын
Fantastic breakdown. You are the truth.
@KidsCreativeTime2 жыл бұрын
Thank you very madam. you have explained the Basics of tree traversal very nicely in a simple way..
@asyncfilebybibek4 жыл бұрын
In the insert method it would not be val = data
@Ormonix Жыл бұрын
Very clear explanation and simple understandable code, Thanks a lot
@ericgadzi78013 жыл бұрын
Great explanation. Thanks very much.
@Kirwel4 жыл бұрын
In the insert method, what if the tree is empty, how it would insert the first node, since the code says left or right
@daleprather30263 жыл бұрын
Good stuff! Makes me feel dumb when the teacher says "Let's implement this. It's really simple."
@zawizarudo7295 Жыл бұрын
Did she just pull a recursion and I understood it? Damn she's great!
@Dizkover4 жыл бұрын
WOW.... she explained it very well. Once you understand it... it's basically like elementary.
@Phoenix841186 жыл бұрын
Finally, someone who write 5 the same way I do!
@thewatcherlollol5 жыл бұрын
looks like an "s" ffs
@AJewFR05 жыл бұрын
There are dozens of us!
@seekingseaker Жыл бұрын
Nice, it's surprisingly simple.
@ammaraleem92132 жыл бұрын
Nicely Explained, Thank you!
@briantep4583 жыл бұрын
really clear and concise
@THE_RISING_SUN5 жыл бұрын
When it has 5 and it takes 5-1=4 and again calls the function, then does the previous value 5 is stored in memory till it reaches 1?
@tedjohnson9126 жыл бұрын
I actually understood binary trees after this video! Wow.
@rohitkalya3 жыл бұрын
Very well explained. Thanks a lot
@khalidsleiman231 Жыл бұрын
it's really helpful you are like saving lives appreciate it. thanks ma'am.
@RePuLseHQKing Жыл бұрын
the perfect video on trees
@ricardoorellana11685 жыл бұрын
Thanks Gayle!
@FanVedete5 жыл бұрын
Very well explained. 👏
@yemaneabrha59022 жыл бұрын
Ohh my God what a simple expression u are Wonderfull teacher
@farrukhahmedsid2 жыл бұрын
That's all we want! Thanks!
@lokeshchebrolu68784 жыл бұрын
omg trees are this simple? fantastic explanation that too in this much short time.
@nitinsoni98484 жыл бұрын
You made it very easy to understand. How simple it is and I always fear with the name trees.
@iamsaytara2 жыл бұрын
Wonderful explanation
@wesNeill3 жыл бұрын
Great explanation. My only question is how to implement it such that the node can contain an arbitrary (but homogeneous) data type?
@darshanvadile12883 ай бұрын
what a coding skills mam just awesome '
@AllanPichardo6 жыл бұрын
Excellent explanation
@mostdeathgaming6 жыл бұрын
What is the significance of the contains function in the above program??
@breajacq22846 ай бұрын
Good explanation!
@joanjanku19094 жыл бұрын
Idk you’re just great. Thank youuu sooooo much. Saved my life😂
@nestorguemez48462 жыл бұрын
Great video!
@orkhanahmadov99634 жыл бұрын
I watched this video and programmed binary tree in python totally it took me 30 mins... Professor could not explain in whole semester: D
@harshrathee51864 жыл бұрын
I think you should have implemented contains method in the Binary Tree class instead of the Node class