Binary Search Trees (BST) Explained and Implemented in Java with Examples | Geekific

  Рет қаралды 30,271

Geekific

Geekific

Күн бұрын

Пікірлер: 33
@FluteVJ
@FluteVJ Жыл бұрын
It took me some time to understand the deletion of the node that has two children. But finally understood after watching again and again. Thank you very much. You are doing a great job and I'm a big fan of your channel.
@alooooshm
@alooooshm 2 жыл бұрын
This is super great! It's truly fabolous how you compress all the heavy concepts in 20 minute video and still be as detailed and practical as a 3 hour university lecture. Pretty much respect keep it up🙏
@geekific
@geekific 2 жыл бұрын
Thanks a lot :) Really glad I could help!!
@o.s.1406
@o.s.1406 Жыл бұрын
You are more helpful than my college professors. I would rather pay my tuition to you!
@cetintekin9520
@cetintekin9520 2 жыл бұрын
Hey, Been watching your videos to understand basic data structures and algorithms. Just wanted to thank you for your expainations and using generics. You are a great help.
@geekific
@geekific 2 жыл бұрын
Glad to help! That's what the channel is here for :)
@vladimir3450
@vladimir3450 2 жыл бұрын
Because of your way how you explain, you helped me to understand it very fast. Thank you
@geekific
@geekific 2 жыл бұрын
You are welcome! Glad it helped :)
@ioanacrisan3684
@ioanacrisan3684 9 ай бұрын
Thank you for your work! Great graphics and nice explanations.
@darkstudio3170
@darkstudio3170 2 жыл бұрын
Saying again , its a underrated channel. while the videos like "A day in mang\fang" gets millions views , this gold content is not nowhere touching 10k views. Says a lot about people behaviour in general.
@joeyyin1518
@joeyyin1518 2 жыл бұрын
The implementation of deep recursion is awesome !!!
@geekific
@geekific 2 жыл бұрын
Glad you liked it :)
@prashantrajgor03
@prashantrajgor03 Жыл бұрын
This is really useful, just have one question, the code you provided for inserting node will work if there is a duplicate value?
@geekific
@geekific Жыл бұрын
Glad it was! Nope since we have comparison for greater and smaller only :) Cheers!
@blake-hz5vx
@blake-hz5vx Жыл бұрын
Great video very helpful
@sadiulhakim7814
@sadiulhakim7814 Жыл бұрын
Nice Video
@chim8938
@chim8938 11 ай бұрын
What about removing with a parent pointer?
@SaintC0bain
@SaintC0bain 2 жыл бұрын
This is a great video! Thank you!
@geekific
@geekific 2 жыл бұрын
Glad you liked it!
@Mamelcrispen
@Mamelcrispen 2 жыл бұрын
this video is sick you helped me so much thanks
@geekific
@geekific 2 жыл бұрын
So glad it was helpful! :)
@ahmad-ali14
@ahmad-ali14 Жыл бұрын
super helpful
@jiu89b68hso8
@jiu89b68hso8 Жыл бұрын
Thank you!
@sivamediboina9711
@sivamediboina9711 2 жыл бұрын
Great for reducing the code by adding more methods. height (node) method has a condition if the node is null then it will return 0. My suggestion is return -1 instead of returning 0 then AVL balancing works perfectly. Any one Please let me if anything is wrong from my side.
@geekific
@geekific 2 жыл бұрын
Hello! Am not sure I got you, but feel free to check our AVL video here: kzbin.info/www/bejne/gJucfpyqZ5l2jc0 :)
@abanoubmaged3647
@abanoubmaged3647 2 жыл бұрын
In the delete implementation .. one child case .. how is the child is automatically assigned as a parent (in the return statement)?
@geekific
@geekific 2 жыл бұрын
Yes! It works similarly to what was explained between 15:00 and 17:20
@cropduster34
@cropduster34 Жыл бұрын
Mr. Takei?
@geekific
@geekific Жыл бұрын
🖖
@kawaeeee
@kawaeeee 2 жыл бұрын
where is main testing code...
@geekific
@geekific 2 жыл бұрын
Hey, I figured it was better to centralize everything in the same video :) Check it here: kzbin.info/www/bejne/np62d6iDZ7maotk. Cheers!
@maxfan6035
@maxfan6035 2 жыл бұрын
I could not understand the part of deleting a node having two children nodes. Pronunciation of the words threw me off
@geekific
@geekific 2 жыл бұрын
Sorry about that! Feel free to ask any question and I'll try my best to clarify :)
Lecture 5: Binary Search Trees, BST Sort
52:40
MIT OpenCourseWare
Рет қаралды 614 М.
这是自救的好办法 #路飞#海贼王
00:43
路飞与唐舞桐
Рет қаралды 104 МЛН
amazing#devil #lilith #funny #shorts
00:15
Devil Lilith
Рет қаралды 18 МЛН
Человек паук уже не тот
00:32
Miracle
Рет қаралды 3,4 МЛН
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
BeatboxJCOP
Рет қаралды 51 МЛН
Binary Search in Java - Full Simple Coding Tutorial
17:48
Coding with John
Рет қаралды 124 М.
Python Data Structures #5: Binary Search Tree (BST)
31:54
Brian Faure
Рет қаралды 169 М.
Data Structures: Trees
9:57
HackerRank
Рет қаралды 1 МЛН
Data structures: Binary Search Tree
19:28
mycodeschool
Рет қаралды 1,3 МЛН
10.1 AVL Tree - Insertion and Rotations
43:08
Abdul Bari
Рет қаралды 1,2 МЛН
6. Binary Trees, Part 1
50:59
MIT OpenCourseWare
Рет қаралды 157 М.
这是自救的好办法 #路飞#海贼王
00:43
路飞与唐舞桐
Рет қаралды 104 МЛН