AVL Tree Insertion Practice

Поділитися
Вставка
  • Опубліковано 18 жов 2024

КОМЕНТАРІ • 20

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

    Μy friend, you're a God! I was trying to understand which nodes I have to adjust every time and I couldn't understand how it works, but then you mentioned about how EVERY NODE needs to have the balance factor and everything is now clear to me. I managed to solve some random exercises from the internet 100% correctly! Thank you so much, I subscribed, you were honestly so helpful :D

  • @merveayaz4784
    @merveayaz4784 5 років тому +4

    Thank you so much.This video helps me a lot.

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

      That's great to hear Merve and thanks for watching !

  • @tahaozdemir7565
    @tahaozdemir7565 4 роки тому +4

    Almost perfect lecture but i wish you had explained the logic of rotations other than that helped me learn a lot thank you very much.

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

      Thanks for the constructive feedback. I think I already have a video explaining the rotations though: ua-cam.com/video/kdfxT8ed4Ww/v-deo.html

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

    Great video rand✌️

  • @vsaihruthikreddy7127
    @vsaihruthikreddy7127 4 роки тому +5

    video was well explained ....BF formula is L-R ....i know tree is anyway balanced small doubt in 14:26 70 balance factor is 1 i guess because left-right child 60 is in left and nothing on right so 1-0=1 is bf for 70 and even 74 is 1 not -1 ....

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

    Thanks man! Really appreciate this vid

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

    what a legend

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

      Lol thanks, but I am just a guy who enjoys computer science topics.

  • @Kitchen-Raccoon4572
    @Kitchen-Raccoon4572 5 років тому

    Bless your soul

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

    Thanks bro..

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

    The balance factor is L-R I believe

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

      Thanks for the comment Daniel!
      If you believe that is the correct way and R-L is not then try a few examples using both L-R and R-L see if you still have that belief.
      Check to see which way works and which way doesn't.

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

    great video, just put to x2 speed lol

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

    U tooooooooooo slow

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

      I try to simplify these subjects and slow it down for people to understand, some like a faster pace some like it slower.

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

      Play in 1.25x speed