ROTATIONS IN AVL TREES - DATA STRUCTURES

Поделиться
HTML-код
  • Опубликовано: 6 окт 2024

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

  • @vanib4483
    @vanib4483 5 лет назад +45

    Hi sir
    In RL rotation for step 1 result is A-C-B and step 2 is C-A-B C is the root node and A is left child , B is Right child

  • @catchmypoint6756
    @catchmypoint6756 4 года назад +13

    16:05 error sir
    The correct order is 👇
    A
    \
    C
    \
    B

  • @SriRam-np7sx
    @SriRam-np7sx 5 лет назад +1

    U made my day sir..thanks for uploading videos

  • @nagaranigovi7796
    @nagaranigovi7796 7 месяцев назад

    Thank u for ur informative and clear explanation sir..

  • @dattasai3319
    @dattasai3319 4 года назад +8

    Hello sir,
    The RL rotation which u hv thought is wrong just check it once...

  • @dajay67
    @dajay67 5 лет назад +14

    Sir,
    In LR rotation when u did step 1 it result in A-C-B.
    But in RL rotation when u did step 1 it resulted in A-B-C. I don't understand why this difference as u just turned left or right?

    • @ankitsao7858
      @ankitsao7858 4 года назад +1

      this is because of property of binary search tree i.e lleft subtree is always less than the root and right subtree is always greater than root

    • @jeevan4350
      @jeevan4350 3 года назад +1

      Yes bro there is mistake

  • @yeshwanthvaddipalli4548
    @yeshwanthvaddipalli4548 5 лет назад +5

    Hi!! Sir
    Could you please give clarity on LR and RL .since the order is changed

  • @DebdutBiswasOnline
    @DebdutBiswasOnline 5 лет назад +3

    Very helpful....

  • @adithyakrishnan.r2266
    @adithyakrishnan.r2266 5 лет назад

    Sir ur classses are so so soooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooppoperb and i am requesting u to put about polynomial addition

  • @skshapeer1881
    @skshapeer1881 5 дней назад

    Good of DSA for me .

  • @arunkumarvenkatadass5001
    @arunkumarvenkatadass5001 4 года назад +3

    how can we implement these Rotations Through the Programming ...by means using any programming language ...can you upload video for my request for using "C" implement Rotations....

  • @fruitlanguage678
    @fruitlanguage678 5 лет назад +1

    Digital image processing la smoothing pathi oru vedio podunka sir

  • @akhil.creations
    @akhil.creations 3 года назад +1

    in RL Rotation step 1 which is the correct tree sir can you give answer in reply

  • @mojeshmeka9317
    @mojeshmeka9317 3 года назад +1

    sir in rl rotation while doing right rotation it (a-b-c == right rotation it becomes a-c-b but you told a-b-c ) which one is correct sir

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

    Very usefull for me

  • @shashankkumar5487
    @shashankkumar5487 2 года назад +1

    Height is calculated wrongly i think?

    • @handwelljere
      @handwelljere Год назад

      On RL B was supposed to be Positive 1 right?

  • @munirajd2917
    @munirajd2917 4 года назад +2

    Hello Sir,
    It is more useful if u explain the same in eclipse after practical session..
    Thanks,
    Muniraj D

  • @shaikrahaman4243
    @shaikrahaman4243 4 года назад

    sir u did not upload AVL tree deletion?

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

    Sir at which node you are rotating in left left and right right rotation

  • @puttahemalatha2694
    @puttahemalatha2694 2 года назад +2

    In this example BST is not applied sir....

  • @AmitSingh-ro2wr
    @AmitSingh-ro2wr 4 года назад

    Good job sir

  • @sindhusiva4580
    @sindhusiva4580 4 года назад

    Sir!! Suppose if we have unbalanced nodes at 2 r more nodes then how to find out ??

  • @fardilviews
    @fardilviews 4 года назад +1

    why we need AVL tree?

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

    sir rotation so confuse sir........., plz say some easy way to understand

  • @narasimhamurthyboddepalli2849
    @narasimhamurthyboddepalli2849 2 года назад

    take values instead of A,B,C then it will be more clear

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

    d Ajay I agree with you

  • @shubhamojha37
    @shubhamojha37 4 года назад

    Sir there is mistake at rl

  • @vinothvk2711
    @vinothvk2711 5 лет назад +1

    Tree is already in balanced means .can we do rotation Bro?

    • @sundeepsaradhi
      @sundeepsaradhi  5 лет назад +2

      Hi
      If the tree is already balanced then no need to do rotations

  • @CSEBshivani
    @CSEBshivani 2 года назад

    I totally confused wt this sir????

  • @s.krishnabharaths.krishnabhara
    @s.krishnabharaths.krishnabhara 4 года назад

    Iam not clear yet

  • @sathvikachowdarykota5h88
    @sathvikachowdarykota5h88 3 года назад

    Delete a node from avl tree chapara

  • @nakulchauhan6713
    @nakulchauhan6713 5 лет назад +1

    you have done RL rotation wrong