B-Trees Made Simple | Introduction to B-Trees | B-Tree Operations | Geekific

Sdílet
Vložit
  • čas přidán 7. 09. 2024

Komentáře • 86

  • @cooperwilk4255
    @cooperwilk4255 Před 2 lety +38

    Wow, I can’t believe how high quality this video/lesson is, you deserve more recognition, very well done

    • @geekific
      @geekific  Před 2 lety +1

      Thanks a lot for your kind words :) Am glad it was helpful!

  • @jzkio1160
    @jzkio1160 Před 2 lety +12

    Most underrated video on youtube

  • @taylorluttrell-williams6632

    This video was incredibly helpful! Thank you for taking the time to upload such quality content.

    • @geekific
      @geekific  Před 2 lety

      Glad you enjoyed it! You're most welcome :)

  • @vimalneha
    @vimalneha Před 6 měsíci

    Many think before this video, I had a hazy understanding of promotion and splitting. Thanks for making such a great video.

  • @svalyavasvalyava9867
    @svalyavasvalyava9867 Před 2 lety +2

    Thank you so much! I (along with the whole community) will be waiting for the video on the implementation of B-Trees as much time as needed! 😎

    • @geekific
      @geekific  Před 2 lety

      You got it! Thanks for the support :)

  • @koraycetin1229
    @koraycetin1229 Před rokem +1

    Super quality lesson. Keep up man I watched 4 videos for like1 hour waste. now only 12mins and easily consumed every info. Great video

  • @pronobsarkerrahul7051
    @pronobsarkerrahul7051 Před 10 měsíci +1

    Crisp and Clear! Looking forward to the implementation video!

  • @nathanchasse8189
    @nathanchasse8189 Před 2 lety +4

    Great explanations! You really can get a college-level CS education online for free. I could've learned everything you need to know about binary search trees of all sorts in a week with your videos. (I'm in college right now and we are spending much more time than that.)

    • @geekific
      @geekific  Před 2 lety +1

      That is exactly why I decided to start this channel, I had the same struggles! Keep it is up and glad I could help :)

  • @gabe_owner
    @gabe_owner Před 8 měsíci

    Your explanations are very precise. You have a great command of the English language and your accent is pleasing, too.

  • @gabriellaudenwa9445
    @gabriellaudenwa9445 Před rokem +1

    Yes, I would also love to see the implementation of BTree.

  • @crispy6532
    @crispy6532 Před rokem +2

    Yes, I would love to see an implementation of BTree.

  • @TechnoSan09
    @TechnoSan09 Před rokem +2

    please do implementation of B trees in java
    not only b trees upload other data structure implementations also in java i love it
    thank you so much

  • @ioanniskanello
    @ioanniskanello Před 2 lety

    Best video for understanding B tree and its operations, thank you!

  • @mauriciojunior1045
    @mauriciojunior1045 Před 2 lety

    Amazing video. Really the only one I could actually understand.

    • @geekific
      @geekific  Před 2 lety

      Thank you!! Glad I could be of help :)

  • @JamesBrodski
    @JamesBrodski Před 2 lety +2

    Amazing video! Thank you so much.

  • @Itsnotmeorisit
    @Itsnotmeorisit Před 2 lety +2

    I really enjoyed this video and the series -- but I wish you had also covered B+Trees and compared them with the B-Tree. If possible, I'm looking forward to watching that!

    • @geekific
      @geekific  Před 2 lety +1

      Glad you liked it! Sure no worries, I'll make sure to add it to my list of upcoming videos. Stay Tuned!

  • @aprunthatcheck
    @aprunthatcheck Před 2 lety

    best vid on B-trees ive seen

  • @enesakkaya7422
    @enesakkaya7422 Před rokem

    Thank you. Pretty simple and understandable.

  • @vikramragunathan6392
    @vikramragunathan6392 Před rokem

    What an explanation 🙌

  • @iimachahiye
    @iimachahiye Před 11 měsíci

    This video is terrific 💯💯. Love u guyzz

  • @TechieTech-gx2kd
    @TechieTech-gx2kd Před 5 měsíci

    How do you know the order of a B tree or is this something we decide when building it ?

  • @tuval-v7p
    @tuval-v7p Před měsícem

    thanks

  • @TechieTech-gx2kd
    @TechieTech-gx2kd Před 5 měsíci

    @Geekific Without implementation the deletion and traversal was confusing, can you please share the implementation video

    • @geekific
      @geekific  Před 5 měsíci

      Will add it to my list of upcoming videos, Stay tuned!

  • @-CSE-AnkitaPanja
    @-CSE-AnkitaPanja Před rokem

    yes (answer to the question asked in the video)

  • @nathan_falkon36
    @nathan_falkon36 Před 11 měsíci

    Thank you, and yes I want b trees implementation in javaa

  • @sandramourali
    @sandramourali Před rokem

    wow you explain so well!

  • @nathanmartinez2630
    @nathanmartinez2630 Před 2 lety

    Super explanation! Thank you!

  • @aryheic
    @aryheic Před rokem

    well explained video. Rly helpful

  • @NazimTurakulov
    @NazimTurakulov Před 2 lety

    Great video! Super simple and usefull

  • @newanurag
    @newanurag Před rokem

    This is too good.

  • @davidorevic6651
    @davidorevic6651 Před rokem +1

    Could you also make it for B+, please ?

  • @bayremagrebi7740
    @bayremagrebi7740 Před 2 lety +1

    i wished there was also implementation of B-Trees

    • @geekific
      @geekific  Před 2 lety +1

      Working on it! Stay Tuned :)

  • @oliviaclarke-edwards4584

    Great video - thank you!

    • @geekific
      @geekific  Před 2 lety

      Glad you liked it! My pleasure :)

  • @SreekalaA
    @SreekalaA Před 2 lety

    Saved my day!

  • @miyamotomusashi4556
    @miyamotomusashi4556 Před rokem

    In 8:23 when we removed 1, why did we have to do the rotation, weren't all the B- Tree conditions satisfied?

    • @geekific
      @geekific  Před rokem

      Node 2 did not have enough children!

  • @Bbdu75yg
    @Bbdu75yg Před rokem

    Wow❤

  • @liorio2847
    @liorio2847 Před 2 lety +1

    Hello, I would like to know if the insertion and deletion of b tree is the same as in the b+ tree?

    • @geekific
      @geekific  Před 2 lety +1

      We will be expanding on this topic in a future video :) Stay Tuned!

    • @liorio2847
      @liorio2847 Před 2 lety

      I appreciate your reply and I will also watch your upcoming videos, but could you already tell me, if it is true or false, because I have a test in 2 days, where I will need this information:)

    • @geekific
      @geekific  Před 2 lety +1

      @@liorio2847 The distinction lies in two main aspects: all leaf nodes are linked together in a doubly-linked list and data is only stored in the leaf nodes and internal nodes only forward you while searching to the correct leaf node. With that said, yes, the insertion and deletion will vary between the two. Hope this helps! Cheers :)

    • @liorio2847
      @liorio2847 Před 2 lety

      yes, it helps!:)

  • @alonhalimi
    @alonhalimi Před 2 lety +1

    Great video, thanks a lot !
    Question - in Wikipedia (en.wikipedia.org/wiki/B-tree ) and in most of the literature, it seems that what you call here leaves (which is here the lowest nodes that carry information) also need to have at least m/2 children - are there different definitions of B-Tree regarding the leaf nodes ?

    • @geekific
      @geekific  Před 2 lety +1

      Glad you liked it! Yes it is not uniform and may differ from person / perspective to another. The link you sent is actually a good reference, you can find your answer under the "Differences in terminology" section. Cheers!

  • @youtubeaccount5523
    @youtubeaccount5523 Před 2 lety

    Amazing Explanation! You rocked!

  • @tarekmorsy1214
    @tarekmorsy1214 Před 2 lety

    Hallo ,
    Why did we do a balnace when we deleted 1. Was the Tree not balanced ?

    • @geekific
      @geekific  Před 2 lety

      Hello, this is to ensure the first property discussed at around 2:40 :)

  • @magdalenapietrzykowska7837

    Why the initial tree is order of 3?

    • @geekific
      @geekific  Před 2 lety +1

      A tree of order 3 is a tree in which a node can have at mode 3 children and 2 values per nodes; and that is exactly the case here!

    • @magdalenapietrzykowska7837
      @magdalenapietrzykowska7837 Před 2 lety

      @@geekific thanks for a prompt answer!

  • @teddyverdecia9459
    @teddyverdecia9459 Před 2 lety +1

    great video but get a better mic or maybe tweak with your audio input settings just some friendly criticism

    • @geekific
      @geekific  Před 2 lety +1

      Thank you! Will look into it :)
      Edit: After checking, I actually did a few tweaks on the audio after uploading this video back then, check this one: czcams.com/video/r8KJ2AJWkHs/video.html and let me know!

    • @borazan
      @borazan Před 2 lety

      @@geekific I think audio settings are not the issue but the mic is, try getting a condenser microphone if you have the budget for it, your current mic sounds "tinny" where the highs are too high with no lows at all. Condenser microphones allow you to get much closer to them and can lead to much "fuller" and cleaner audio. Try looking into microphones that people use for podcasts, oh and go for audio interface + mic instead of usb plug and play, it reduces jitter by a ton.

  • @TechieTech-gx2kd
    @TechieTech-gx2kd Před 5 měsíci

    No implementation on this one ?

  • @sawmonabo
    @sawmonabo Před 2 lety +1

    What is 'm'?

    • @geekific
      @geekific  Před 2 lety

      At around 1:10 we state that 'm' is the maximum number of children a node can have, making 'm-1' the maximum number of keys that can be stored inside a single node.

    • @sawmonabo
      @sawmonabo Před 2 lety +1

      @@geekific are we usually given ‘m’ when creating or using a b-tree?

    • @geekific
      @geekific  Před 2 lety

      It depends on the context, however yes most of the time 'm' will be a pre-thing to bare in mind while tackling B-Trees.

  • @user-tt4hp4lc7m
    @user-tt4hp4lc7m Před 10 měsíci

    Sir Btrees in C++ please

    • @geekific
      @geekific  Před 10 měsíci

      We might in the future extend the channel to include other programming languages! Stay Tuned!

  • @nazim9639
    @nazim9639 Před 2 lety

    why couldnt we just put 28 as a new child node of 20, because it still has room for one more child

    • @geekific
      @geekific  Před 2 lety

      Hello! In this example we were discussing a b-tree of order 3, which means that every node can have 3 children at most and can store 2 keys. At 5:00, 28 cannot fit next to 22 and 25 in the same node because each node can store a maximum of 2 keys, additionally 28 cannot be an independent child of 20 because as we mentioned in 4:00 when a node has 3 children then it must store 2 keys and if we do that the node storing element 20 will only have a single key, hence why we promoted 25. Hope this answers your question :)

  • @tomaszzielinski4521
    @tomaszzielinski4521 Před 7 měsíci

    Sorry, but the sound is unbearable. Artificially wide stereo with terrbily noisy filtering.

    • @geekific
      @geekific  Před 7 měsíci

      We worked on improving the sound over the months. Watch one of our newest uploads and let me know!

  • @shubhiVerma_
    @shubhiVerma_ Před 2 lety

    Matter is good but don't use voice effects

    • @geekific
      @geekific  Před 2 lety

      Glad it is! Will keep this in mind!

  • @typingcat
    @typingcat Před 9 měsíci

    You French?

    • @geekific
      @geekific  Před 9 měsíci

      I do speak Français fluently, but I am not French :)

    • @typingcat
      @typingcat Před 9 měsíci

      @@geekific The way you speak, especially the way you use a wrong stress of words, sounded just like Linux Experiment (CZcams channel), who is a French.