B-Tree Tutorial - An Introduction to B-Trees

Поділитися
Вставка
  • Опубліковано 14 січ 2025

КОМЕНТАРІ • 164

  • @Freeman937
    @Freeman937 6 років тому +215

    For god's sake how hard is it to just explain it as simple as that! Thanks a lot from Germany!

    • @ohdude6643
      @ohdude6643 5 років тому +10

      Because some professors need to justify a given number of hours.

    • @p3chv0gel22
      @p3chv0gel22 4 роки тому +8

      Ich fühle deinen Schmerz, Bruder :D

    • @jhindeag
      @jhindeag 3 роки тому +1

      ich hab bald auch eine Klausur haha

    • @PatxSun
      @PatxSun 9 місяців тому +1

      6 Jahre später, Danke wieder von Deutschland🥲😂

    • @Freeman937
      @Freeman937 9 місяців тому

      @@PatxSun viel Erfolg 😂💪🏼

  • @MrMonsterrally
    @MrMonsterrally 6 років тому +482

    When you go to youtube to teach you what your college professor was supposed to

    • @mati1979b
      @mati1979b 5 років тому +7

      there is simply too much material to cover....

    • @wahabfiles6260
      @wahabfiles6260 5 років тому +6

      Stop bitching!

    • @natanielkauppi2566
      @natanielkauppi2566 4 роки тому +8

      my professor doesn't give any visual examples. I crave for those.

    • @ybbetter9948
      @ybbetter9948 4 роки тому +1

      yeah and your college professor only covers topics related to his work...

    • @philippebaillargeon5204
      @philippebaillargeon5204 3 роки тому +1

      Everytime.

  • @konamihatchibori
    @konamihatchibori 7 років тому +35

    Excellent explanation, no complicated jargon, elegant presentation. Thank you so much.

  • @teodorstoev2610
    @teodorstoev2610 7 років тому +110

    Finally a really good explanation! Thank you! Your video needs more views!

  • @NikkieBiteMe
    @NikkieBiteMe 7 років тому +27

    Everything about B-Trees is crystal clear now.
    Thank you for this amazing video!!!

  • @hopefulhyena3400
    @hopefulhyena3400 2 роки тому +1

    This is genuinely one of the best and most helpful coding explanation videos I've ever seen.

  • @marvinkamande93
    @marvinkamande93 5 років тому +1

    This video has saved a life today. Bless him.

  • @williamwright2583
    @williamwright2583 7 років тому +100

    This was a memorable presentation, simple and elegant.
    Can I have you as a professor?

    • @90sokrates
      @90sokrates 6 років тому +3

      Yeah I bet you can for like 300k+ a year :D :D

  • @ogropor
    @ogropor 7 років тому +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

  • @gobbledee55
    @gobbledee55 6 років тому +1

    Excellent explanation! Not too simple, not too complicated. Best B-Tree explanation I've seen so far.

  • @zeroDawn-21
    @zeroDawn-21 Рік тому

    This is by far the best explanation for B-Trees out there, thank you

  • @Fox66du76
    @Fox66du76 6 років тому +1

    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 років тому +2

    Thank you so much man , very simple , smooth , useful and helpful.
    Please keep uploading more presentations/videos !

  • @esmailiyou
    @esmailiyou 7 років тому +3

    Yeah, searched a long time on UA-cam to find this video. Thanks a lot! :)

  • @yifengchennnn
    @yifengchennnn 2 роки тому

    The animation of inserting value is fantastic.

  • @night4wl959
    @night4wl959 4 роки тому +2

    Excellent teaching skills, thanks!

  • @yevheniishudrenko3898
    @yevheniishudrenko3898 6 років тому +1

    Beautifully structured explanation, my gratitude

  • @jonnysanty5028
    @jonnysanty5028 5 років тому

    I'm glad I stumbled across this video before I got sucked into other chaotic explanations.

  • @paulhendrix8599
    @paulhendrix8599 5 років тому +1

    Great introduction with a great explanation of why they're useful!

  • @bokistotel
    @bokistotel 6 місяців тому

    AMAZING explanation!!!!!

  • @vaishnaviganseh2884
    @vaishnaviganseh2884 5 років тому

    this video was such a saviour

  • @BatehamRadio
    @BatehamRadio 5 років тому

    Wow great job with the presentation! You were able to explain this while my professor was not!

  • @pfiffi7509
    @pfiffi7509 3 роки тому

    Thank You ! From Germany
    Danke!!

  • @vivekdalal8629
    @vivekdalal8629 4 роки тому +1

    Really well explained! Thank you!

  • @JoffreyB
    @JoffreyB 6 років тому +2

    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

  • @souv1k985
    @souv1k985 5 років тому +1

    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

  • @uzairiltifat9534
    @uzairiltifat9534 5 років тому +1

    It's a great demonstration thanks for sharing it.

  • @marcuskim1989
    @marcuskim1989 6 років тому +6

    I've always thought it helpful to think that tree data structures resemble family trees, not upside-down tree organisms lol

  • @zoso25
    @zoso25 3 роки тому

    This is very similar to Prof. Sedgwick's lectures but with an extra tidbit of their utility. Thank you!

  • @GBGOLC
    @GBGOLC 7 років тому +1

    Simple clear and concise.

  • @Kmac112
    @Kmac112 5 років тому

    man, this guy is really good.

  • @Careyourbusiness
    @Careyourbusiness 5 років тому +1

    thank u Sir
    i wanna know the name of the application that u use for the B-trees test

    • @fancy_pixel
      @fancy_pixel 5 років тому +1

      if you wrote on google b tree visualization tool online or cs.usfca.edu b tree visualization tool

  • @juhairahamed5342
    @juhairahamed5342 11 місяців тому

    Thanks for uploading

  • @diegocolli86
    @diegocolli86 3 роки тому

    Where can I find the url for the site that shows the trees?

  • @pixelpaxal
    @pixelpaxal 5 років тому

    Nice demo and clear explanation

  • @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.

  • @heavyraindrops4750
    @heavyraindrops4750 5 років тому +1

    Do you have a video on deleting an item from a B-Tree?

  • @mohammadreza.beygifard
    @mohammadreza.beygifard 3 роки тому

    Thanks for the video!

  • @benc7152
    @benc7152 6 років тому

    this video is freaking excellent.

  • @heidisun7074
    @heidisun7074 4 роки тому

    wow this demo is amazing! thank you!

  • @hao-tingliang7037
    @hao-tingliang7037 6 років тому

    Pretty nice! This video helps me a lot. Thank you!

  • @j.frostybeats
    @j.frostybeats 2 роки тому

    thank you sir, i loved your explenation

  • @ad_koishi3266
    @ad_koishi3266 2 роки тому

    thanks so much professor!

  • @АлександрБадаландабад

    Great explanation, all the best to your, Dudes )) !

  • @chris.w391
    @chris.w391 3 роки тому

    Good explanation, thanks!

  • @LoboFrames
    @LoboFrames 4 роки тому

    Thanks, clear explanation.

  • @ПавелЗолотарев-ы4п

    Thanks, good explanation

  • @DTV998
    @DTV998 5 років тому +1

    Great:) 10h till the exam, 3 more trees to go:3

  • @primeoptumas8435
    @primeoptumas8435 4 роки тому

    Great explanation sir👏👏👏

  • @fuahuahuatime5196
    @fuahuahuatime5196 6 років тому

    Really great explanation.

  • @mohammedghu.3792
    @mohammedghu.3792 6 років тому

    gorgeous explanation , thank you .

  • @ishrak1684
    @ishrak1684 6 років тому

    Thank you so much.you made my day!

  • @JP-td8gt
    @JP-td8gt 6 років тому

    Bravo! 🙌 made perfect sense to me.

  • @danielk2122
    @danielk2122 7 років тому

    Very good explanation!

  • @kaos092
    @kaos092 Рік тому

    I love how with m / 2 we're just expected to know they mean to round up

  • @leo-rq2ei
    @leo-rq2ei 6 років тому

    Great explanation!!!

  • @basheeral-momani2032
    @basheeral-momani2032 6 років тому

    thanks a lot for this awesome tutorial

  • @ky5069
    @ky5069 5 років тому

    Really terse and awesome explanation, thank you

  • @LiChuy
    @LiChuy 3 роки тому

    The value of the data, in what part of the tree do they find?

  • @TH3Willster
    @TH3Willster 6 років тому

    Awesome video man

  • @Heggour
    @Heggour 5 років тому +1

    here is the link if anyone was wondering : www.cs.usfca.edu/~galles/visualization/BTree.html

  • @KaptainLuis
    @KaptainLuis 6 місяців тому

    thank you so much!

  • @tshaylatte9502
    @tshaylatte9502 4 роки тому

    great content thank you

  • @bluewater6593
    @bluewater6593 2 роки тому

    is an order 2 b-tree the same as a binary tree?

  • @TheMeMo1999
    @TheMeMo1999 5 років тому

    thank you this was very helpful

  • @jianhuang0
    @jianhuang0 6 років тому

    I am looking for the complicated part delete from b-tree

  • @vladislavrepinsky6743
    @vladislavrepinsky6743 6 років тому

    At 4:42 doesn't every node that is not a leaf have m+1 children instead of m?

  • @tomtao5261
    @tomtao5261 5 років тому

    Thank you very much , i got it! ~

  • @williamwang2716
    @williamwang2716 5 років тому

    No runtime analysis?

  • @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

  • @inhanhhuy553
    @inhanhhuy553 5 років тому

    Great, thank you.

  • @paulchicos2885
    @paulchicos2885 4 роки тому

    Good explanation

  • @shaunsawyer8298
    @shaunsawyer8298 6 років тому

    That image of a self balancing tree kind of seems more appropriate for what happens when a tree is unbalanced :P

  • @JamesOfKS
    @JamesOfKS 7 років тому

    Nice job!

  • @lidavid7809
    @lidavid7809 3 роки тому

    B-Tree full details at 5:40

  • @jcchurch
    @jcchurch 6 років тому +6

    Jump to 2:41 to skip past all of the intro.

    • @easynow6599
      @easynow6599 6 років тому +1

      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..

  • @ricardohincapie1537
    @ricardohincapie1537 2 роки тому

    great! Thx!

  • @ezekielyovel9116
    @ezekielyovel9116 6 років тому

    Thanks a lot, this was clear and simple to understand!

  • @troooooper100
    @troooooper100 4 роки тому

    entire education system couldn't explain this

  • @alipuccio3603
    @alipuccio3603 2 роки тому

    thank you.

  • @harrisonn9792
    @harrisonn9792 2 роки тому

    Thank You

  • @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

  • @cruellnat
    @cruellnat 3 роки тому

    Thank you!!!!!

  • @jmadluck
    @jmadluck 6 років тому +7

    good video, but i was looking for how to delete

  • @neux64
    @neux64 3 роки тому +3

    Who else is searching the internet about dictionary and map data structures because their instructor is using an outdated teaching pedagogy?

  • @rawanjeraq9917
    @rawanjeraq9917 3 роки тому +2

    All the online students here because online college is useless

  • @espicelmecanicodecombustio1632
    @espicelmecanicodecombustio1632 5 років тому +30

    It's just not the same without a hindi accent u_u

    • @pepe6666
      @pepe6666 5 років тому +2

      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.

  • @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

  • @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.

  • @NoName66426
    @NoName66426 4 роки тому +1

    Here is the site they used www.cs.usfca.edu/~galles/visualization/BTree.html

  • @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 роки тому +1

      ​@@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.

  • @iam_topg
    @iam_topg 5 років тому

    YOU ARE LEGEND

  • @dryanwarrener
    @dryanwarrener 5 років тому

    Excellent :D

  • @nikhilgoyal007
    @nikhilgoyal007 5 років тому

    thanks boss!

  • @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!:)

  • @aloysiowinter3979
    @aloysiowinter3979 2 роки тому

    muito bom!!!!

  • @unpluggedaman
    @unpluggedaman 7 років тому

    Thanks a lot

  • @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.

  • @akashskumar99
    @akashskumar99 3 роки тому

    damn bro,soooooooo fkn smooth