The Most Elegant Search Structure | (a,b)-trees

  Рет қаралды 38,925

Tom S

Tom S

Күн бұрын

Пікірлер: 45
@khoda81
@khoda81 Жыл бұрын
OMG, This video is so good. So underrated. I am watching this after struggling to understand B-tree several times and oh god you're so good.
@protiumx
@protiumx Жыл бұрын
Your videos are incredible! Loved the simplicity and the animations. Source code of the video is a big plus!
@theacorn7240
@theacorn7240 Жыл бұрын
i clicked on this curious if there was something nicer than a b+tree 😭. sticking around bc the quality is good
@shahainmanujith2109
@shahainmanujith2109 10 ай бұрын
What a fantastic explainer! Quality is sublime! Well done!
@antoine2571
@antoine2571 Жыл бұрын
Wow! The quality this video is incredible! And it remains true for every video on your channel. Thank you so much for it!
@cupatelj52
@cupatelj52 Жыл бұрын
Very vell explained. Thank you for the video.
@phobosmoon4643
@phobosmoon4643 Жыл бұрын
the amount of artifacting from youtube compression makes me feel like an ai watching a video. Ty for the nice video!
@nurosele3850
@nurosele3850 Жыл бұрын
I’m glad I found your channel.
@johanlarsson9805
@johanlarsson9805 Жыл бұрын
Thank you for your concern, yes I am indeed having a nice day :)
@ramit7
@ramit7 Жыл бұрын
thanks for this beautiful video ^_^
@alejandrosepulvedaposada8471
@alejandrosepulvedaposada8471 16 күн бұрын
just beautiful
@southparkfan4603
@southparkfan4603 4 ай бұрын
Amazing video, thanks mate
@_bustion_1928
@_bustion_1928 6 ай бұрын
We learnt in the university the AVL trees, and finding out there is a much better solution hurts a little bit : )
@kellymoses8566
@kellymoses8566 Жыл бұрын
B+ trees are used in nearly every database and filesystem.
@rohmanatasi1771
@rohmanatasi1771 6 ай бұрын
whats the name of the music between 0:28 and 2:00, it doesnt seem to be one of the ones listed in the description
@YTomS
@YTomS 6 ай бұрын
It is - Cases to Rest. The UI on the website is, however, quite unintuitive and just pressing the play button plays a random track (you have to press on the name).
@kxren.a7627
@kxren.a7627 Жыл бұрын
well animated videos are so helpful. Can you please keep making them until I graduate? Please.
@mysyntax1311
@mysyntax1311 Жыл бұрын
new sub here . good work bro keep going !!
@waffle8364
@waffle8364 Жыл бұрын
you think rotations are more complicated than this?
@YTomS
@YTomS Жыл бұрын
It's really a personal preference, but a-b trees feel cleaner to me because all I have to remember when adding is "if too many then split" and when removing is "if too little then steal / merge".
@LunaLovegood-1981
@LunaLovegood-1981 Жыл бұрын
hope you make video about Fenwick tree with this animation
@reversev9778
@reversev9778 Жыл бұрын
This is really cool
@soikatabd4120
@soikatabd4120 Жыл бұрын
How do you edit these videos?Any tutorial?
@YTomS
@YTomS Жыл бұрын
All of the software I use is free and linked in the description. I also wrote a series of tutorials on how to start animating with Manim (how most of the animations in the video are done): slama.dev/manim/introduction/
@hannahnelson4569
@hannahnelson4569 Жыл бұрын
Does anyone know what happens when you can't merge or steal? Stealing relies on an adjacent node having an extra and merging relies on the above node having an extra. What if neither of them have any extra to spare?
@YTomS
@YTomS Жыл бұрын
The node above doesn't need to have an extra key. If it doesn't, we merge and have to fix the condition one layer above, that's why we prefer to steal (which doesn't propagate up).
@hannahnelson4569
@hannahnelson4569 Жыл бұрын
@@YTomS that makes sense! Thank you!
@linkernick5379
@linkernick5379 Жыл бұрын
Should I avoid the subscribing? Definitely, no! 😂 Really well explained video 👍
@madhukiranattivilli2321
@madhukiranattivilli2321 Жыл бұрын
In "Usage" section u said c++ n java technically use Red-Black trees to implement maps and sets, but they are actually a-b trees How is a red-black tree same as a-b tree?
@YTomS
@YTomS Жыл бұрын
There is a mapping between a 2-3 (or 2-4, based on definitions) tree and a R&B tree. I didn't want to mention it in the video since I'd have to define what an R&B tree is and it doesn't add too much to the video.
@hemerythrin
@hemerythrin Жыл бұрын
Imagine the red nodes / red-linked nodes as actually being part of their parent black node. If you're using red-black trees where black nodes can only have one red child, that gets you a 2,3 tree. If you're using red-black trees where black nodes can have up to two red children, that gets you a 2,4 tree.
@madhukiranattivilli2321
@madhukiranattivilli2321 Жыл бұрын
@@hemerythrin Thankyou!
@hannahnelson4569
@hannahnelson4569 Жыл бұрын
Very funny!
@climbeverest
@climbeverest 6 ай бұрын
Confusing as hell, what do the blank Squares mean? No nodes? Is this then a always 2 level tree?
@T0mF0rd
@T0mF0rd 16 күн бұрын
I’m here because I wanted to learn how I can make my Python code more advanced I don’t know what the hell this is. It’s just moving numbers.
@deltamico
@deltamico 13 күн бұрын
it's likely in a library which is implemented in c
@unLinuxeroMas
@unLinuxeroMas 5 ай бұрын
can you make a tutorial to make vidios in this style, is so sexy
@madhukiranattivilli2321
@madhukiranattivilli2321 Жыл бұрын
U speak too fast. Ok for a netflix movie or youtube entertainment video, but high speed talk in a technical video increases the # of rewinds to re-listen the sentences a few times. No?
@YTomS
@YTomS Жыл бұрын
It's definitely better compared to my older videos, but I agree that it still isn't ideal. I'll try to slow the next one down :).
@blacklistnr1
@blacklistnr1 Жыл бұрын
​@@YTomS If it helps, your speed is the one I target when I manually change it for other slower videos :))
@pratikkore7947
@pratikkore7947 Жыл бұрын
I don't think he spoke fast, just should've used more words to give us time to think and understand the operations
@madhukiranattivilli2321
@madhukiranattivilli2321 Жыл бұрын
@@pratikkore7947 Or my grasping power is weaker :)
@intermitttence2022
@intermitttence2022 Жыл бұрын
There are captions
@kahnfatman
@kahnfatman Жыл бұрын
Your videos are the next beautiful thing (I mean "wonderful") I have found beside Dr. Bartosz Milewski's series on Category Theory! How about webinars? I would definitely sign up for it. Keep up the great works and speak slower! 🫡
Understanding B-Trees: The Data Structure Behind Modern Databases
12:39
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
The Art of Linear Programming
18:56
Tom S
Рет қаралды 708 М.
Theseus and the Minotaur | Exploring State Space
14:44
Tom S
Рет қаралды 15 М.
How Git Changed Programming Forever
9:13
JetBrains Academy
Рет қаралды 3,1 М.
Teleporting Ants & Dynamic Programming #SoME2
12:42
A Bit Wiser
Рет қаралды 168 М.
You have 30 seconds. Viral riddle from The 1% Club
8:42
MindYourDecisions
Рет қаралды 46 М.
The hidden beauty of the A* algorithm
19:22
Polylog
Рет қаралды 909 М.
The Boundary of Computation
12:59
Mutual Information
Рет қаралды 1 МЛН
10 FORBIDDEN Sorting Algorithms
9:41
Ardens
Рет қаралды 944 М.
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
A problem so hard even Google relies on Random Chance
12:06
Breaking Taps
Рет қаралды 1,2 МЛН