AVL trees in 5 minutes - Deletions

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

КОМЕНТАРІ • 40

  • @mohsinshahbaz5846
    @mohsinshahbaz5846 Рік тому +92

    exam in 1 hour

    • @SAFACTS
      @SAFACTS 10 місяців тому +1

      same situation

    • @koffeltuff1231
      @koffeltuff1231 7 місяців тому +8

      Outside the hall

    • @ayushvaze1622
      @ayushvaze1622 7 місяців тому +7

      After exam preparing for re exam already knows result

    • @Slothrave
      @Slothrave 5 місяців тому

      @@ayushvaze1622 yo i cheated of you....i got 0

    • @akjunior1_
      @akjunior1_ 4 місяці тому

      Same situation

  • @dandandan3675
    @dandandan3675 Рік тому +14

    omg. tysm!!! please don't stop making these types of videos

  • @riancmd
    @riancmd 6 місяців тому +1

    Really concise and straight to the point. I'm reviewing for my exam today so this helped me a lot! Thank you.

  • @djamelbgd301
    @djamelbgd301 Рік тому +4

    straight to the point 🔥🔥🔥🔥🔥

  • @Vincent-qh4rg
    @Vincent-qh4rg Рік тому +5

    Your videos are too good🐐

  • @baokhangnguyenbac7689
    @baokhangnguyenbac7689 Місяць тому

    Does that mean the rotation part just similar that we cannot make it a separate function which can use for both insertion and deletion?

  • @davidphamle
    @davidphamle Рік тому +1

    What happen if you delete root?

  • @jaystar3990
    @jaystar3990 3 місяці тому

    will this work if the node is the root?

  • @D3ebK
    @D3ebK Рік тому +8

    🐐

  • @typingcat
    @typingcat 10 місяців тому

    01:24 What if that "in-order successor" has children? In the example, 125 had no children, so it was simple but what if 125 had children?

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

      In inorder successor we have to go to right subtree and go to its left most value

  • @jaystar3990
    @jaystar3990 4 місяці тому

    hey, im not familiar with python, what is the parameter'self' referring to?

    • @MichaelSambol
      @MichaelSambol  4 місяці тому

      www.geeksforgeeks.org/self-in-python-class/

    • @jaystar3990
      @jaystar3990 4 місяці тому

      @@MichaelSambol thank you👍

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

    Can you make a video about Johnson's algorithm?

  • @nullptr.
    @nullptr. 7 місяців тому

    Tyvm!
    Out of curiosity, are you guys learning DSA in Python? my class is in C

    • @MichaelSambol
      @MichaelSambol  7 місяців тому

      We did Java when I was in school. Depends on your college. I chose Python here because I think it's easiest to learn: github.com/msambol/dsa.

  • @أبوجعفر-غ6ث
    @أبوجعفر-غ6ث Рік тому

    Hi, I loved your video ! I'm watching you since a long time, I've seen almost all your videos about sort algorithms ( insertion, selection, bubble sort, etc.).
    I just wanted to ask, how do you make these ? I mean, what software do you use to make these videos ? and what material do you use ?
    Thank you very much for the answer and for the time spent.

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

    Cool man really helped alot

  • @chudchadanstud
    @chudchadanstud Рік тому +2

    It's all fun and games until you have to do it iteratively

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

    you a goat fr

  • @shivammalviya2106
    @shivammalviya2106 11 місяців тому +1

    Tommorow is exam

  • @parasgujjar9147
    @parasgujjar9147 3 місяці тому +1

    Exam in 2 hr

  • @wawa_game
    @wawa_game 8 місяців тому

    exam in 20 Minutes

  • @the3rdson
    @the3rdson 7 місяців тому +2

    Height is the number of edges, the height in your video is wrong

    • @the3rdson
      @the3rdson 7 місяців тому

      You gotta double check your stuff my guy 😭, people could and probably have lost points because of that simple mistake...

    • @MichaelSambol
      @MichaelSambol  7 місяців тому

      There are a few ways you can define it. I chose "the number of nodes on the longest path from the root to a leaf." As long as you are consistent, the balance factor will be the same.

    • @the3rdson
      @the3rdson 7 місяців тому

      @@MichaelSambol I see, thanks for clarifying