B-Tree Tutorial - An Introduction to B-Trees

  Рет қаралды 327,487

Fullstack Academy

Fullstack Academy

Күн бұрын

Пікірлер
@Freeman937
@Freeman937 6 жыл бұрын
For god's sake how hard is it to just explain it as simple as that! Thanks a lot from Germany!
@ohdude6643
@ohdude6643 5 жыл бұрын
Because some professors need to justify a given number of hours.
@p3chv0gel22
@p3chv0gel22 4 жыл бұрын
Ich fühle deinen Schmerz, Bruder :D
@jhindeag
@jhindeag 3 жыл бұрын
ich hab bald auch eine Klausur haha
@PatxSun
@PatxSun 9 ай бұрын
6 Jahre später, Danke wieder von Deutschland🥲😂
@Freeman937
@Freeman937 9 ай бұрын
@@PatxSun viel Erfolg 😂💪🏼
@teodorstoev2610
@teodorstoev2610 7 жыл бұрын
Finally a really good explanation! Thank you! Your video needs more views!
@MrMonsterrally
@MrMonsterrally 6 жыл бұрын
When you go to youtube to teach you what your college professor was supposed to
@mati1979b
@mati1979b 5 жыл бұрын
there is simply too much material to cover....
@wahabfiles6260
@wahabfiles6260 5 жыл бұрын
Stop bitching!
@natanielkauppi2566
@natanielkauppi2566 4 жыл бұрын
my professor doesn't give any visual examples. I crave for those.
@ybbetter9948
@ybbetter9948 4 жыл бұрын
yeah and your college professor only covers topics related to his work...
@philippebaillargeon5204
@philippebaillargeon5204 3 жыл бұрын
Everytime.
@konamihatchibori
@konamihatchibori 7 жыл бұрын
Excellent explanation, no complicated jargon, elegant presentation. Thank you so much.
@NikkieBiteMe
@NikkieBiteMe 7 жыл бұрын
Everything about B-Trees is crystal clear now. Thank you for this amazing video!!!
@ogropor
@ogropor 7 жыл бұрын
i watched all other videos, i got nothing, i was hopeless.thanks to this man and this video FIINALLY I UNDERSTAND....the animation site is perfect to understand and demonstrate too
@hopefulhyena3400
@hopefulhyena3400 2 жыл бұрын
This is genuinely one of the best and most helpful coding explanation videos I've ever seen.
@williamwright2583
@williamwright2583 7 жыл бұрын
This was a memorable presentation, simple and elegant. Can I have you as a professor?
@90sokrates
@90sokrates 6 жыл бұрын
Yeah I bet you can for like 300k+ a year :D :D
@marvinkamande93
@marvinkamande93 5 жыл бұрын
This video has saved a life today. Bless him.
@zeroDawn-21
@zeroDawn-21 Жыл бұрын
This is by far the best explanation for B-Trees out there, thank you
@gobbledee55
@gobbledee55 6 жыл бұрын
Excellent explanation! Not too simple, not too complicated. Best B-Tree explanation I've seen so far.
@Fox66du76
@Fox66du76 6 жыл бұрын
Very clear, appreciated the consistency of the presentation and the little animation to visualize how B-trees work !
@chrispitterle8831
@chrispitterle8831 4 жыл бұрын
I keep coming back to this video to help me tutor my students. Thank you!
@rachitahuja6084
@rachitahuja6084 6 жыл бұрын
Thank you so much man , very simple , smooth , useful and helpful. Please keep uploading more presentations/videos !
@esmailiyou
@esmailiyou 7 жыл бұрын
Yeah, searched a long time on KZbin to find this video. Thanks a lot! :)
@JoffreyB
@JoffreyB 6 жыл бұрын
9:30, shouldn’t be it no more m-2 items? Because if it’s m-1 and we are inserting value, our order will be changed to m+1. Because if we insert item in node with m-1 items, it will has m items, therefore it can has m+1 children, and therefore, order will be m+1. Or I misunderstood something? Is order changeable or not? If it is so, then sorry, my mistake
@yifengchen9880
@yifengchen9880 2 жыл бұрын
The animation of inserting value is fantastic.
@paulhendrix8599
@paulhendrix8599 5 жыл бұрын
Great introduction with a great explanation of why they're useful!
@jonnysanty5028
@jonnysanty5028 5 жыл бұрын
I'm glad I stumbled across this video before I got sucked into other chaotic explanations.
@yevheniishudrenko3898
@yevheniishudrenko3898 5 жыл бұрын
Beautifully structured explanation, my gratitude
@BatehamRadio
@BatehamRadio 5 жыл бұрын
Wow great job with the presentation! You were able to explain this while my professor was not!
@souv1k985
@souv1k985 5 жыл бұрын
at 3:25 was it a 'b tree' or a 'm-way tree'. A b tree is supposed to have a 2 keys and 3 pointers right ? Please correct me if I am wrong.
@102RC
@102RC 5 жыл бұрын
it was a B-tree order of 5 (which is really a special case of a m-way tree (but balanced), where m=5, every leaf node is at the same depth and every node, except root, is at least half full, from m/2 to m-1 keys). The # of keys/children nodes of a B-tree depends on its order. The relationship between # of keys and children of a m-way tree is k = m-1
@night4wl959
@night4wl959 4 жыл бұрын
Excellent teaching skills, thanks!
@joaquinibanez6537
@joaquinibanez6537 4 жыл бұрын
What are the awesome facts in this video? I understood every word he said about this topic and i don't undertand english completely yet hahaha. He is really incredible teaching about his field.
@zoso25
@zoso25 3 жыл бұрын
This is very similar to Prof. Sedgwick's lectures but with an extra tidbit of their utility. Thank you!
@vaishnaviganseh2884
@vaishnaviganseh2884 5 жыл бұрын
this video was such a saviour
@Kmac112
@Kmac112 5 жыл бұрын
man, this guy is really good.
@bokistotel
@bokistotel 6 ай бұрын
AMAZING explanation!!!!!
@vivekdalal8629
@vivekdalal8629 4 жыл бұрын
Really well explained! Thank you!
@kaos092
@kaos092 Жыл бұрын
I love how with m / 2 we're just expected to know they mean to round up
@АлександрБадаландабад
@АлександрБадаландабад 4 жыл бұрын
Great explanation, all the best to your, Dudes )) !
@pixelpaxal
@pixelpaxal 5 жыл бұрын
Nice demo and clear explanation
@hao-tingliang7037
@hao-tingliang7037 6 жыл бұрын
Pretty nice! This video helps me a lot. Thank you!
@heidisun7074
@heidisun7074 4 жыл бұрын
wow this demo is amazing! thank you!
@primeoptumas8435
@primeoptumas8435 4 жыл бұрын
Great explanation sir👏👏👏
@uzairiltifat9534
@uzairiltifat9534 5 жыл бұрын
It's a great demonstration thanks for sharing it.
@benc7152
@benc7152 6 жыл бұрын
this video is freaking excellent.
@heavyraindrops4750
@heavyraindrops4750 5 жыл бұрын
Do you have a video on deleting an item from a B-Tree?
@vladislavrepinsky6743
@vladislavrepinsky6743 6 жыл бұрын
At 4:42 doesn't every node that is not a leaf have m+1 children instead of m?
@jcchurch
@jcchurch 6 жыл бұрын
Jump to 2:41 to skip past all of the intro.
@easynow6599
@easynow6599 6 жыл бұрын
actually, i really loved the intro...it is just 2 minutes that in every typical lecture they skip..so if you miss something, you're completely lost to the rest of the lecture.. GREAT intro..
@Careyourbusiness
@Careyourbusiness 5 жыл бұрын
thank u Sir i wanna know the name of the application that u use for the B-trees test
@fancy_pixel
@fancy_pixel 5 жыл бұрын
if you wrote on google b tree visualization tool online or cs.usfca.edu b tree visualization tool
@nasosal
@nasosal 2 жыл бұрын
Where can I meet this guy? I want to buy him a beer! He explained in 12 minutes what I couldn't grasp from 2 40-minutes long lectures! He's absolutely amazing!!!
@Heggour
@Heggour 5 жыл бұрын
here is the link if anyone was wondering : www.cs.usfca.edu/~galles/visualization/BTree.html
@marcuskim1989
@marcuskim1989 6 жыл бұрын
I've always thought it helpful to think that tree data structures resemble family trees, not upside-down tree organisms lol
@JP-td8gt
@JP-td8gt 6 жыл бұрын
Bravo! 🙌 made perfect sense to me.
@diegocolli86
@diegocolli86 3 жыл бұрын
Where can I find the url for the site that shows the trees?
@GBGOLC
@GBGOLC 7 жыл бұрын
Simple clear and concise.
@DTV998
@DTV998 5 жыл бұрын
Great:) 10h till the exam, 3 more trees to go:3
@ky5069
@ky5069 5 жыл бұрын
Really terse and awesome explanation, thank you
@pfiffi7509
@pfiffi7509 3 жыл бұрын
Thank You ! From Germany Danke!!
@chris.w391
@chris.w391 3 жыл бұрын
Good explanation, thanks!
@fuahuahuatime5196
@fuahuahuatime5196 6 жыл бұрын
Really great explanation.
@danielk2122
@danielk2122 7 жыл бұрын
Very good explanation!
@LiChuy
@LiChuy 3 жыл бұрын
The value of the data, in what part of the tree do they find?
@mohammedghu.3792
@mohammedghu.3792 6 жыл бұрын
gorgeous explanation , thank you .
@motorheadbanger90
@motorheadbanger90 6 жыл бұрын
I love the demos but just two levels....i need to see it in more complex examples but since this was an intro i guess the trivial ones are necessary
@j.frostybeats
@j.frostybeats 2 жыл бұрын
thank you sir, i loved your explenation
@ishrak1684
@ishrak1684 6 жыл бұрын
Thank you so much.you made my day!
@jianhuang0
@jianhuang0 6 жыл бұрын
I am looking for the complicated part delete from b-tree
@jmadluck
@jmadluck 6 жыл бұрын
good video, but i was looking for how to delete
@duynhanvo7673
@duynhanvo7673 3 жыл бұрын
wow, i try to understand from web pages but still not working. With your explanation, it help me a lot, still not at the clearest level. Thanks a lot.
@TH3Willster
@TH3Willster 6 жыл бұрын
Awesome video man
@basheeral-momani2032
@basheeral-momani2032 6 жыл бұрын
thanks a lot for this awesome tutorial
@ПавелЗолотарев-ы4п
@ПавелЗолотарев-ы4п 3 жыл бұрын
Thanks, good explanation
@seankw2880
@seankw2880 4 жыл бұрын
It seems to be a rule that a non-root leaf can only have a maximum of M-1 keys. Why is that not explicitly stated in the rules or did I miss something?
@darrencowan4558
@darrencowan4558 2 жыл бұрын
All nodes can only have M-1 keys, regardless if it is root/node/leaf
@LoboFrames
@LoboFrames 4 жыл бұрын
Thanks, clear explanation.
@leo-rq2ei
@leo-rq2ei 6 жыл бұрын
Great explanation!!!
@TheMeMo1999
@TheMeMo1999 5 жыл бұрын
thank you this was very helpful
@ascientist1238
@ascientist1238 5 жыл бұрын
Great explanation, although viewers should be aware that the B+-tree that is more commonly tought in database systems courses is also often called B-tree.
@jspt256
@jspt256 2 жыл бұрын
which was this?
@ascientist1238
@ascientist1238 2 жыл бұрын
​@@jspt256 Usually, a B+-tree is understood as a B-tree variant that does not contain real keys in the inner nodes. Instead, the inner "keys" just guides the navigation in the tree. This allows to shorten the inner keys (particularly relevant for data types like strings). However, this variation is nowadays usually also called B-tree.
@donaastor
@donaastor 2 жыл бұрын
I was inplementing deletion ... LAST 2 DAYS. It is NOT _equally_ complicated. I had 38 cases to happily cover. I had to use bitmasks and bitwise operations to avoid crazy branching
@bluewater6593
@bluewater6593 2 жыл бұрын
is an order 2 b-tree the same as a binary tree?
@mohammadreza.beygifard
@mohammadreza.beygifard 2 жыл бұрын
Thanks for the video!
@juhairahamed5342
@juhairahamed5342 11 ай бұрын
Thanks for uploading
@lidavid7809
@lidavid7809 3 жыл бұрын
B-Tree full details at 5:40
@ad_koishi3266
@ad_koishi3266 2 жыл бұрын
thanks so much professor!
@troooooper100
@troooooper100 4 жыл бұрын
entire education system couldn't explain this
@LLFRA
@LLFRA 4 жыл бұрын
somebody with a link to the animation site with the insert number example?
@LLFRA
@LLFRA 4 жыл бұрын
found it www.cs.usfca.edu/~galles/visualization/BTree.html
@shaunsawyer8298
@shaunsawyer8298 6 жыл бұрын
That image of a self balancing tree kind of seems more appropriate for what happens when a tree is unbalanced :P
@williamwang2716
@williamwang2716 5 жыл бұрын
No runtime analysis?
@andrasszalai2514
@andrasszalai2514 5 жыл бұрын
What happens if there is an even (like 2,4,6) number of keys in a node. How does it split? Nice vid tho!:)
@christopherlovejoy93
@christopherlovejoy93 6 жыл бұрын
That B-Tree visualization is at cs.usfca.edu/~galles/visualization/BTree.html
@stewartzayat7526
@stewartzayat7526 3 жыл бұрын
"I'm not going to go into the logic..." That's literally the reason I wanted to watch this video. To learn about the logic. I don't think you should have left that out.
@ezekielyovel9116
@ezekielyovel9116 6 жыл бұрын
Thanks a lot, this was clear and simple to understand!
@NoName66426
@NoName66426 4 жыл бұрын
Here is the site they used www.cs.usfca.edu/~galles/visualization/BTree.html
@tomtao5261
@tomtao5261 5 жыл бұрын
Thank you very much , i got it! ~
@nealvic46
@nealvic46 6 жыл бұрын
11pm watching this and thinking... where are people watching this from? looking on youtube to learn what your college professor can't teach you ... Paris here, where y'all from?
@pridegasm7975
@pridegasm7975 5 жыл бұрын
Ukraine. Education here sucks. ^^
@XnDxNdXnD
@XnDxNdXnD 5 жыл бұрын
From South Korea. Learning by youtube is more easy to understand. Those visualizations are really explainable.
@michelef406
@michelef406 Жыл бұрын
@@pridegasm7975 The neighbours are not so great either.
@neux64
@neux64 3 жыл бұрын
Who else is searching the internet about dictionary and map data structures because their instructor is using an outdated teaching pedagogy?
@tshaylatte9502
@tshaylatte9502 4 жыл бұрын
great content thank you
@paulchicos2885
@paulchicos2885 4 жыл бұрын
Good explanation
@espicelmecanicodecombustio1632
@espicelmecanicodecombustio1632 5 жыл бұрын
It's just not the same without a hindi accent u_u
@pepe6666
@pepe6666 5 жыл бұрын
and the nonsensical pausing on the last word in the ..sentence.
@sharun4739
@sharun4739 5 жыл бұрын
@@pepe6666 thats what fullstop is for.
@pepe6666
@pepe6666 5 жыл бұрын
​@@sharun4739 😏
@RohanDaDev
@RohanDaDev 5 жыл бұрын
@@pepe6666 And that is why we.... Search.
@pepe6666
@pepe6666 5 жыл бұрын
@@RohanDaDev the be t'dree.
@rawanjeraq9917
@rawanjeraq9917 3 жыл бұрын
All the online students here because online college is useless
@JamesOfKS
@JamesOfKS 7 жыл бұрын
Nice job!
@waliky2002
@waliky2002 8 ай бұрын
Ok, I have to say this. Thank you and thank you with a maximum length of trillions…..
@holger_p
@holger_p 5 ай бұрын
Good to get an idea, but unfortunatly nobody will ever request to implement it, cause there are enough implementations out there.
@KaptainLuis
@KaptainLuis 6 ай бұрын
thank you so much!
@inhanhhuy553
@inhanhhuy553 5 жыл бұрын
Great, thank you.
@halasmadi6331
@halasmadi6331 4 жыл бұрын
when will my professor ever...
@solutions-ai
@solutions-ai 3 жыл бұрын
CHONG SIANG YEW, best lecturer of all time Dm me for his email :)
@lawkhyeyueh3311
@lawkhyeyueh3311 3 жыл бұрын
Sure I wanna learn from him. How do I contact you?
@iam_topg
@iam_topg 5 жыл бұрын
YOU ARE LEGEND
@ricardohincapie1537
@ricardohincapie1537 2 жыл бұрын
great! Thx!
Understanding B-Trees: The Data Structure Behind Modern Databases
12:39
The Most Elegant Search Structure | (a,b)-trees
11:38
Tom S
Рет қаралды 39 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
8 Data Structures Every Programmer Should Know
17:09
ForrestKnight
Рет қаралды 234 М.
R2. 2-3 Trees and B-Trees
30:45
MIT OpenCourseWare
Рет қаралды 224 М.
8 Rules For Learning to Code in 2025...and should you?
12:59
Travis Media
Рет қаралды 166 М.
B-tree vs B+ tree in Database Systems
31:50
Hussein Nasser
Рет қаралды 55 М.
Hash Tables and Hash Functions
13:56
Computer Science Lessons
Рет қаралды 1,6 МЛН
10.2  B Trees and B+ Trees. How they are useful in Databases
39:41
Abdul Bari
Рет қаралды 1,2 МЛН
The Secret Sauce Behind NoSQL: LSM Tree
7:35
ByteByteGo
Рет қаралды 214 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН