5.30 B+ Tree Deletion| with example |Data structure & Algorithm Tutorials

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ม.ค. 2025

ความคิดเห็น • 220

  • @ninakoch1799
    @ninakoch1799 2 ปีที่แล้ว +102

    Thank you for this amazing video Ma‘am! Really helped me understand this concept for my DBMS exam! You are truly a gifted teacher, never stop sharing your knowledge with us! Greeting from Switzerland

  • @khanmdmaaz
    @khanmdmaaz 5 ปีที่แล้ว +85

    The college that i pay, can't teach me, even though i try a lot to learn. Actually, they don't want to word at all, after getting salaries. And some newbies come up on board, and mess up things and end up making the board dirty, and giving tons of confusions.
    Ur quality is that ma'am, u don't mess up things, go simply with the rules, don't do aennnn aaannnn etc kind of drama, and deliver every dimension of problem related to the topic. Really v good.
    Having actual knowledge from free source, and having no knowledge from paid source. KALYUG 😕🙁😑

    • @ankitagrawal3447
      @ankitagrawal3447 4 ปีที่แล้ว +4

      Ur line is really very effective and true also......

    • @manishvatsal9670
      @manishvatsal9670 4 ปีที่แล้ว +1

      That's so true 👍

    • @miraclescience840
      @miraclescience840 3 ปีที่แล้ว +2

      yeah

    • @manishsahu6873
      @manishsahu6873 3 ปีที่แล้ว +2

      RIghtly said, Paying so much amount in the college but learning nothing. But here We get our concepts cleared with very efficient and simple explanations

  • @unemployedcse3514
    @unemployedcse3514 4 ปีที่แล้ว +93

    Awesome 💞
    "deletion is complicated than insertion"
    against nature rule🌹

  • @meghnajain7889
    @meghnajain7889 5 ปีที่แล้ว +33

    this cleared all my confusions....big thumbs up ...the best video on youtube
    Thanks alot mam

  • @norbertkolozsi2461
    @norbertkolozsi2461 5 หลายเดือนก่อน +5

    Thank you! I passed my exam thanks to you!

  • @SigmaTown
    @SigmaTown 28 วันที่ผ่านมา +1

    Thank you ma'am for this amazing understandable lecture...Best CS Teacher available right now on TH-cam😁🙏🏻

  • @akashghosh4766
    @akashghosh4766 5 ปีที่แล้ว +9

    Thanks a lot, Mam.Best series of B tree and B+trees on TH-cam.Subscibed.

  • @jijivisha3593
    @jijivisha3593 5 ปีที่แล้ว +9

    Nice work here.. my concept id clear.. after a study of 2 hour in the end i watch this lecture i was so tired.. but then in the end your smile fix it all i paused the video and watched your smiling face for 1-2 minutes.. 😅 also i screenshot it.. 😋.. i also made my friends see ur smile... It's just made my day.. keep smiling.. and thank you for the video.. it's really helpful.. 😊

  • @koushikrakib7605
    @koushikrakib7605 4 ปีที่แล้ว +6

    Great video, she explained each and every edge cases.

  • @micah167
    @micah167 5 ปีที่แล้ว +5

    Thank you for expkaining all cases thoroughly 👍👌

  • @amarnathsharma9655
    @amarnathsharma9655 5 ปีที่แล้ว +5

    Loved the tutorial. Very nicely and easily explained all cases.
    Thanks.

  • @adamazmy6408
    @adamazmy6408 ปีที่แล้ว

    Genuinely best explanation I’ve seen! Thank you so much for helping with exam ❤

  • @Whatever0165
    @Whatever0165 2 ปีที่แล้ว +20

    I can never learn this in a million years

  • @shubhamnikam2710
    @shubhamnikam2710 5 ปีที่แล้ว +4

    Best among all !! 🙌💯

    • @JennyslecturesCSIT
      @JennyslecturesCSIT  5 ปีที่แล้ว +2

      I am grateful for the kind words and encouragement

  • @sandamalgamage1242
    @sandamalgamage1242 2 ปีที่แล้ว

    Thank You very much, Ma'am. This video helped me understand B plus tree Deleting Operation crystal clearly. You explain it as a piece of cake❤❤

  • @saikatsudiptashuva5735
    @saikatsudiptashuva5735 9 หลายเดือนก่อน +1

    Lovely tutorial😍

  • @sohamshinde1258
    @sohamshinde1258 ปีที่แล้ว +1

    Thanks!

  • @serhatylmaz5333
    @serhatylmaz5333 2 ปีที่แล้ว

    First of all thank you for your great explanation of these B*tree concepts. I want to clarify one thing is that in 3:30, you told that left child can be less than or equal to parent of it. But conceptually it can't be right as you told in the rest of the video. The right child can be equal and greater than its parent, left child must be strictly less than its parent.

    • @jerryjohnthomas4908
      @jerryjohnthomas4908 2 ปีที่แล้ว

      brother that is another of way of implementing it, if you are doing that you have to do that consistently from the root to the leaf nodes, in the example she mentioned its the opposite. so this is not an example to disprove but rather this is an example where right child >= node value. just whatever you are following follow it consistently thats all.

  • @harinath_mishra
    @harinath_mishra 5 ปีที่แล้ว +2

    Thanks alot mam for providing lecture on b tree and b+ tree deletion .Deletion in both is quite tricky and you explained it very well....mam It was hard and difficult to find deletion in both the cases.... Thank you very much mam....keep uploading videos.....

  • @shivathmikachiliveru5543
    @shivathmikachiliveru5543 4 ปีที่แล้ว

    i could understand more clearly in ur videos.....ur one of the best teachers....lots of love mam....

  • @trump8690
    @trump8690 10 หลายเดือนก่อน +1

    my goddess, you saved my life

  • @tirthadatta7368
    @tirthadatta7368 5 ปีที่แล้ว +2

    Thank u mam,u r beauty with brain💞💞💞u r just 💕💕💕

  • @chinnmaychaudhari5199
    @chinnmaychaudhari5199 10 หลายเดือนก่อน +1

    So amazing tutorial!

  • @scorpionkingcr4523
    @scorpionkingcr4523 3 ปีที่แล้ว +1

    U r making futures👍

  • @armannaim8826
    @armannaim8826 5 ปีที่แล้ว +2

    the reaction of your eye put me in think that im in front you and watching live . i love your video and simple talks

  • @sasirekhamsvl9504
    @sasirekhamsvl9504 4 ปีที่แล้ว +1

    Thank you so much ma'am .You are so clear with your content and you are not concerned with like comment share and subscribe. This makes you unique too.

  • @Bunny_Shark
    @Bunny_Shark 17 วันที่ผ่านมา

    Super teaching. Thanks a Ton madam

  • @amitotc
    @amitotc 3 ปีที่แล้ว +5

    First of all these videos were very helpful. Thank you for creating videos and sharing the knowledge. I am trying to design something like my own data base. I wanted to know how to serialize and persist these B+ trees and store them in files. It will be very helpful if you can create another video regarding the same. Thank you :)

    • @meishimanshu
      @meishimanshu ปีที่แล้ว

      Had you created your database?

    • @amitotc
      @amitotc ปีที่แล้ว +2

      @@meishimanshu I was able to create it. I created a database from scratch by adding a file layer beneath the B-Tree. This allowed for serializing the nodes and loading them into the cache as and when access was requested. The serialization was done in the protobuf format. Unfortunately, all the code I wrote was propriety and was for my ex-employer. I no longer have access to it. I created a distributed database on top of Azure Cloud using custom B-Tree and node format. It was done to avoid costly database solutions on the cloud, as we didn't need very active indexing or reads on the database. Since we needed to persist it long enough in an incrementally backed-up format, we decided to create our own mini-database (which is good for faster writes but can still support log (n) reads occasionally). The journey from this video to the final database took me 6 months to work on scale. I could do 1 million reads in 40 mins and 1 million writes in 10 minutes on Azure Blob-based storage.

    • @aarushchaubey516
      @aarushchaubey516 ปีที่แล้ว +1

      @@amitotc baap re kya kya tune bc

  • @Urbana72
    @Urbana72 2 ปีที่แล้ว +1

    Good explanation and good design of examples.

  • @hamedhomaee6410
    @hamedhomaee6410 4 ปีที่แล้ว

    It could not be taught better than this. Awesome. THANK YOU SO MUCH.

  • @sanjanaattanayake4231
    @sanjanaattanayake4231 ปีที่แล้ว

    Great explanation thank youuu Madam! 🙏

  • @deviantistaken
    @deviantistaken 6 หลายเดือนก่อน +1

    karaboğa esenlikler diler

  • @primefriends7840
    @primefriends7840 4 ปีที่แล้ว

    Jenny didi aap boht acha padha rhi hoo🥺🥺 . Mere or mere doston ki taraf se boht saara pyaar❤️❤️

  • @harshkumaragarwal8326
    @harshkumaragarwal8326 3 ปีที่แล้ว +2

    Thank you very much for the video
    One suggestion: the values on the top right is for 4, and the video is using 3, this sometimes creates confusion. :))

  • @rajneeshkumar3399
    @rajneeshkumar3399 4 ปีที่แล้ว

    Clear and precise, to the point explanation.. And mam you are cute

  • @-SaiVenkat
    @-SaiVenkat 5 ปีที่แล้ว +3

    very good exaplanation thanku for teaching me I understand what you said nice explanation

  • @bholebaba365
    @bholebaba365 3 ปีที่แล้ว

    Best explained 🤜❤️🤛

  • @ganeshsharma6326
    @ganeshsharma6326 5 ปีที่แล้ว +2

    Thanks for this concept.😊

  • @aditya21006
    @aditya21006 3 ปีที่แล้ว +2

    This topic has been explained in much more detail,than one of the best available paid lecture for gate(sorry cant name it).

  • @vijaykumar-mv3ro
    @vijaykumar-mv3ro 4 ปีที่แล้ว

    u r doing so much hardwork mam keep it up mam

  • @shalikaashan7924
    @shalikaashan7924 5 ปีที่แล้ว +2

    Great video. Thank you so much you helped me for the mid term exam.

  • @madhavanu6980
    @madhavanu6980 2 ปีที่แล้ว +1

    Thank you so much sister
    plz do class on B star tree

  • @amitmaurya5589
    @amitmaurya5589 4 ปีที่แล้ว

    THANKS A LOT MA'AM VERY VERY MOST IMPORTANT CONTENT PROVIDED BY YOU .
    1... PLEASE MAKE A VIDEO ON KANADE ALGORITHMS .
    THANK YOU AGAIN

  • @VicksGamingWorld
    @VicksGamingWorld 5 ปีที่แล้ว +1

    Thank you dear mam 😊 & lv u 😄😍😍

  • @AliHaider-j9q
    @AliHaider-j9q หลายเดือนก่อน

    Love you so much ❤

  • @prerakpanwar9853
    @prerakpanwar9853 ปีที่แล้ว +4

    when deleting 25 why we did not ask key from its left sibling 17|19?

    • @WHYTUJAY
      @WHYTUJAY 2 หลายเดือนก่อน +2

      immediate se hii sirf borrow krega , if not then merging

    • @bishwanathpatra7283
      @bishwanathpatra7283 2 หลายเดือนก่อน

      Because 25 parent is 28 it can only ask to its sibling . It cannot borrow from others sibling as u said

  • @brahmareddythumu9885
    @brahmareddythumu9885 5 ปีที่แล้ว

    Thank you but if it is better to put your videos last year 2-2 it helps me a lot .but now also it helped me

  • @IIPoojasriA
    @IIPoojasriA 5 ปีที่แล้ว +1

    It's very useful mam 😇

  • @mouneydonuru2769
    @mouneydonuru2769 3 ปีที่แล้ว +10

    If the rules are written at the side or so, it would be easy to revise

  • @ruchirjain1163
    @ruchirjain1163 3 ปีที่แล้ว +1

    Great vid!!

  • @sumeetubale3923
    @sumeetubale3923 2 ปีที่แล้ว +1

    thank you for this video!!

  • @stashatstake
    @stashatstake 4 ปีที่แล้ว

    Quality is crazy high
    Thank you

  • @mdkabinhasan6473
    @mdkabinhasan6473 4 ปีที่แล้ว

    Thank you maaa.. i loved this video.. also you.. because of i got 10/10 in viva... T_T :*

  • @H-CSELEKrishnaMohan
    @H-CSELEKrishnaMohan 3 ปีที่แล้ว

    I Thank you 3000 times

  • @SreyRc
    @SreyRc 5 ปีที่แล้ว +4

    Explained so well! Thanks a lot!

  • @bhaveshpariyani6853
    @bhaveshpariyani6853 5 ปีที่แล้ว +2

    great video, very easily explained each cases

  • @preparingengineering
    @preparingengineering ปีที่แล้ว

    I have confusion:
    8:19 borrowed 4 from immediate left node, borrowed node became parent , parent should be go down ,right? how 4 went there(below parent)?

  • @rayanamb490
    @rayanamb490 11 หลายเดือนก่อน

    u r amazing thanks for yr vid really helped

  • @thaliaft
    @thaliaft 2 ปีที่แล้ว

    Thank you very much! Very helpful

  • @jenweatherwax7113
    @jenweatherwax7113 3 ปีที่แล้ว

    You are my lifesaver. When I get my degree, I will cross out the university name and put yours XD

  • @subhashbose4989
    @subhashbose4989 3 ปีที่แล้ว +1

    statement at 15:35 is most important in B+Tree

  • @krishnachaitanyayerrapatru4682
    @krishnachaitanyayerrapatru4682 5 ปีที่แล้ว

    Tnx a lot man..... Please try to upload a series on dbms

  • @chepurivenkatchari5655
    @chepurivenkatchari5655 4 ปีที่แล้ว

    Superb class

  • @SuratAdhikari
    @SuratAdhikari 5 ปีที่แล้ว

    Love you Mamm, Thanks alot

  • @ownvibez5492
    @ownvibez5492 2 ปีที่แล้ว +1

    Rise ur hands who are watching this video before the examination 😂

  • @gyanprakash302
    @gyanprakash302 3 ปีที่แล้ว +2

    The formula for minimum keys should be = ceil[(4-1)/2]==2 , The leaf nodes should always be more than half full right ?

  • @GaonkaEngineer123
    @GaonkaEngineer123 5 ปีที่แล้ว

    best among all;;;;;;;;;;

  • @niranjanhegde3852
    @niranjanhegde3852 5 ปีที่แล้ว +2

    One doubt. At 2:30 timestamp, why didn't you merge left and right subtrees to get 25,28,42 in one node?

    • @suchismithakn
      @suchismithakn 5 ปีที่แล้ว

      Because the minimum number of children possible are 1, and that condition is satisfied. Hence we don't need to merge it

  • @xof8256
    @xof8256 5 ปีที่แล้ว +1

    Thank You Jenny!

  • @mohitpatel5605
    @mohitpatel5605 8 หลายเดือนก่อน +1

    I want to learn this lecture till deleted keys = 25.because by here i can remember the condition for deleting a keys.

  • @janithinduwara9394
    @janithinduwara9394 หลายเดือนก่อน

    Maam kind request for a correction, the order of this tree is m=3. Please make that correction. Thank you for the valuable explanation !

  • @maheshwariganeshbabu7275
    @maheshwariganeshbabu7275 4 ปีที่แล้ว +1

    Thanks a lot mam can you make a videos on oops full lecture pleeeeee....

  • @Carlos-td6bz
    @Carlos-td6bz 5 ปีที่แล้ว +1

    Perfect explanation!

  • @subhadipmaity3253
    @subhadipmaity3253 4 ปีที่แล้ว

    Thank you soo much Mam

  • @waghdipak2358
    @waghdipak2358 5 ปีที่แล้ว

    @10:52 it wasn't deleted , it was just removed from the internal node following the rule....btw thank u so much for these amazing lectures...and like all...i will also appreciate your beauty...

  • @manjuvimal8114
    @manjuvimal8114 4 ปีที่แล้ว

    superb jennie

  • @hemanthalugubelli3052
    @hemanthalugubelli3052 4 ปีที่แล้ว

    thanks akka pls do video on b+ trees
    love from ap

  • @gopavaramsaimadhuree520
    @gopavaramsaimadhuree520 2 ปีที่แล้ว

    Excellent

  • @rustincohle3271
    @rustincohle3271 3 ปีที่แล้ว

    Thank you so much

  • @AmanRaj-se3fh
    @AmanRaj-se3fh 4 ปีที่แล้ว +13

    ma'am, it should have min. 2 keys in the leaf node.
    ceil( (n-1)/2 ).. according to H.F. KORTH (book)..Page no:-635..line no:- 08

    • @vimalsheoran8040
      @vimalsheoran8040 4 ปีที่แล้ว

      It's ceil (n/2) - 1

    • @nj7588
      @nj7588 4 ปีที่แล้ว

      m is number of children of a node and n is number of keys in the block that is in one node. Since n = m - 1 and m in this case is 4, n = 3
      so ceil((3-1)/2) = ceil(2/2) = 1

    • @vvedhant7463
      @vvedhant7463 2 ปีที่แล้ว

      ratio

  • @jithinmv6516
    @jithinmv6516 5 ปีที่แล้ว

    I am always waiting for the last "bubye and take care" :)

  • @chirangbpandey9503
    @chirangbpandey9503 ปีที่แล้ว

    At 16:00, root should be (17) and leaves should be (1),(17,19,28)

  • @openeyes977
    @openeyes977 7 วันที่ผ่านมา

    Mam in b+ tree. In the internal node it is also contain data how we called this is a index because the value are same as leaf node and internal node???

  • @himagiridanapana7580
    @himagiridanapana7580 5 ปีที่แล้ว +1

    very good

  • @danielkwan434
    @danielkwan434 3 ปีที่แล้ว

    thank you so much!

  • @amankumaramar271
    @amankumaramar271 4 ปีที่แล้ว

    thank you ma'am

  • @ahmetsarac6702
    @ahmetsarac6702 11 หลายเดือนก่อน

    Hi Jenny, you are a great instructure. Thank you so much everythings that you do for us. But i have a question for you. you sad that in left of side smaller or equal must be, and in rigth of side strictly must be greater, am i rigth. But when you remove 20, you add 28 left of side. must it be 25 here instaed of 28. ?

    • @erenyeager8609
      @erenyeager8609 9 หลายเดือนก่อน

      bhai parent agr 20 hai toh left side must be smaller then 20 and it also cannot equal to 20 nd right side must be greater than the parent node

  • @Careyourbusiness
    @Careyourbusiness 5 ปีที่แล้ว +1

    u helped ty a lot

  • @anjanhalder7164
    @anjanhalder7164 2 ปีที่แล้ว

    thanx mam a lot

  • @manishasen2264
    @manishasen2264 7 หลายเดือนก่อน

    What is condition for root node and children node like in root node left child can have less than equal to and for children node the left node must have only less than values is it like that?

  • @rahulvats9086
    @rahulvats9086 5 ปีที่แล้ว +3

    That was a wonderful revision of b+ tree concepts. Though i need to implement all this with some tweakings as an assignment. So can u give an idea how to implement all this in C.

    • @harinath_mishra
      @harinath_mishra 5 ปีที่แล้ว +1

      Bro have you implemented b tree using c??

    • @rahulvats9086
      @rahulvats9086 5 ปีที่แล้ว

      @@harinath_mishra yes i have done it now

  • @nishipal8948
    @nishipal8948 10 หลายเดือนก่อน +1

    ma'am algorithm insertion and deletion b_ tree ka video bna dijiye

  • @batman_1st
    @batman_1st 4 ปีที่แล้ว

    What do you mean internal nodes only store index? Doesn't internal nodes store key value? Otherwise how do you know which path to go down?

  • @careerplus2417
    @careerplus2417 4 ปีที่แล้ว +2

    Hello Madam...when ever u r deletion 42 ...siblings max values is 19 but you are using 17...pleace clasrify that

    • @bhavanimuddala
      @bhavanimuddala 4 ปีที่แล้ว

      Yes I too have same doubt

    • @manusharma9089
      @manusharma9089 2 ปีที่แล้ว

      We are looking for the siblings of intermediate index . Not for the leaf node.

  • @mohanpvs2777
    @mohanpvs2777 4 ปีที่แล้ว

    Mam, in the last step. . Why 1 is not included in keys if root node after merging

  • @rahulpadhy9071
    @rahulpadhy9071 4 ปีที่แล้ว

    Thank You !! :)

  • @claramushi9122
    @claramushi9122 3 ปีที่แล้ว

    Thanks alot

  • @shivathmikachiliveru5543
    @shivathmikachiliveru5543 4 ปีที่แล้ว

    mam...i have a doubt...do we have to keep a node empty to point to the other leaf node...or else its just the linking

  • @020hamza2
    @020hamza2 2 ปีที่แล้ว

    Wild perfect

  • @lillol3245
    @lillol3245 ปีที่แล้ว +1

    Oh god insertion is so much simpler