2 3 Trees Deletion

Поделиться
HTML-код
  • Опубликовано: 24 сен 2024
  • Link to another explanation: www.cs.ucr.edu/...
    Check out my website and like or comment any other tutorials you would like to see!
    www.applejuicescholars.com

Комментарии • 24

  • @ropopal1094
    @ropopal1094 4 года назад +6

    Dude you have good intentions and thats good, but before you upload a video, make sure its not full of mistakes

  • @priyankajayaswal1806
    @priyankajayaswal1806 9 лет назад +13

    the above example is nt correct! hw cn 65 be in between 70,90

  • @arungandikota126
    @arungandikota126 10 лет назад +8

    From 7:50 - 8:35, D/P needs to have two children (T4 and some T5) due to the property of 2-3 trees. After the deletion, when you bring over the child T3, that should be a problem since then the bottom right 1-node would have three children.

  • @denys3211
    @denys3211 5 лет назад

    In 7:43, the node with key D is an single key internal node with only one child, which is not a valid 2-3 tree as far as I understand. Every single key internal node should have at least 2 children.

  • @bmgag19
    @bmgag19 10 лет назад +2

    @2:30 you're swapping with the inorder successor? Don't you mean inorder PREDECESOR?

    • @moxxewarraich210
      @moxxewarraich210 10 лет назад

      either works as we want the element just larger or just smaller than our deleting element

  • @akashjain4184
    @akashjain4184 8 лет назад +5

    unfortunately your hardcore example was wrong...

  • @xkhokokox
    @xkhokokox 8 лет назад

    But what happens to the childs of L in 2:57 ? S can only have 2 childs but SL contains 3 childs

  • @astifobia
    @astifobia 8 лет назад

    if i am right and what you say is true two of your examples start as unbalanced 2-3 tree which as you can say can not happen, but aside from that its a nice explanation :)

  • @michalkovic
    @michalkovic 8 лет назад

    9:58 root node have just 1 child ... but its wrong .... isnt it?

  • @madanmohanreddysure7583
    @madanmohanreddysure7583 6 лет назад

    Thanks for explaining this like this I want more videos about all tq

  • @GGGBC
    @GGGBC 11 лет назад

    00:55 S>L??

  • @dineshsuthar9156
    @dineshsuthar9156 6 лет назад

    Unable to understand

  • @valdas0
    @valdas0 11 лет назад

    10:40 65 can't be in that node because it's less than the lesser of its' parents

    • @gaurav_das
      @gaurav_das 5 лет назад

      he could delete 65 directly..isn't it?

  • @alexandra_sav
    @alexandra_sav 10 лет назад

    thank you

  • @AndyAndOnly
    @AndyAndOnly 6 лет назад +1

    6:27 hehe, DAB
    I am sorry

  • @senciddimisin
    @senciddimisin 8 лет назад +2

    Please delete this video your giving everyone a wrong idea about the deletion process of 2,4 trees

  • @honorsquanch7044
    @honorsquanch7044 7 лет назад

    Dude slow down

  • @Adam-gp3ij
    @Adam-gp3ij 5 лет назад

    This is the worst lecture ever