5.17 Red Black Tree Insertion | Insertion Algorithm | Data Structure Tutorials

5.17 Red Black Tree Insertion | Insertion Algorithm | Data Structure Tutorials

Jenny's Lectures CS IT

4 года назад

707,405 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@karimhalabi4460
@karimhalabi4460 - 28.12.2023 20:46

TY Jenny you are the best

Ответить
@smokersmoker2529
@smokersmoker2529 - 24.12.2023 09:49

you forgot to give a question to us mam💢

Ответить
@smokersmoker2529
@smokersmoker2529 - 24.12.2023 09:48

love u madam❤

Ответить
@user-ks9ns9xm6g
@user-ks9ns9xm6g - 23.12.2023 22:56

best mam , what a fantastic way to make all things clear in a very simple way

Ответить
@avypandat3849
@avypandat3849 - 18.12.2023 11:16

Mam aap mt pdhao mai top kr jaunga 😢

Ответить
@vanikurakula3697
@vanikurakula3697 - 17.12.2023 19:20

Tq nice explanation

Ответить
@dr.manikandanl.c7181
@dr.manikandanl.c7181 - 17.12.2023 18:15

Fantastic Explanation 👌

Ответить
@saidabanupattan589
@saidabanupattan589 - 16.12.2023 18:10

Thanks for the explanation I understood well and I shared to my friends ❤

Ответить
@bhoomikasri4879
@bhoomikasri4879 - 16.12.2023 15:28

All nodes in a red black tree can be black but not in red ....mam

Ответить
@B_Patidar88
@B_Patidar88 - 16.12.2023 05:06

Thankyou so much ma'am ❤

Ответить
@thevick8700
@thevick8700 - 15.12.2023 12:37

mein pass hogeya

Ответить
@priyanshuverma1512
@priyanshuverma1512 - 07.12.2023 11:53

Thankyou mam for this wonderful explanation😊

Ответить
@SantoshPrajapati-up8hc
@SantoshPrajapati-up8hc - 07.12.2023 08:38

10 is also red

Ответить
@SantoshPrajapati-up8hc
@SantoshPrajapati-up8hc - 07.12.2023 08:37

i think 2 is also red please reply admin

Ответить
@HKinEUROPE
@HKinEUROPE - 05.12.2023 00:00

Thank you so much, you explained it alot easier with the example and requirements to meet for a Red-Black Tree. Thanks for this video.

Ответить
@lakshay4111
@lakshay4111 - 04.12.2023 16:27

Mam , At third stage you forgot to check the tree for AVL as it violate the AVL Rule because on ROOT node the balance factor is 1-3=-2

Ответить
@shreyashinilay9730
@shreyashinilay9730 - 03.12.2023 18:48

but every leaf is supposed to be black right?

Ответить
@koppakaramana3672
@koppakaramana3672 - 03.12.2023 15:21

Thanks mam

Ответить
@emotionalwithmotivation
@emotionalwithmotivation - 30.11.2023 19:13

can you please upload one more RB tree insertion and deletion with more example please
having many douts

Ответить
@adityapratapsingh7026
@adityapratapsingh7026 - 30.11.2023 08:33

I love you meri cutie pie 🥧❤😂

Ответить
@velagagopikranthi9466
@velagagopikranthi9466 - 27.11.2023 16:50

Not possible with only black nodes because every new node is red and we are not changing it by any of the rules

Ответить
@vasavitadikonda3636
@vasavitadikonda3636 - 11.11.2023 07:29

Yes,there can be a red black tree where all the nodes are black.

Ответить
@raman8141
@raman8141 - 31.10.2023 10:41

Helpful.

Ответить
@jerrinsiby4976
@jerrinsiby4976 - 27.10.2023 08:48

😊

Ответить
@viratkohli4649
@viratkohli4649 - 26.10.2023 06:54

Why did 18 become red??

Ответить
@FarmanKhan-qg3gs
@FarmanKhan-qg3gs - 25.10.2023 13:32

Awesome video. Thank you. 🙂

Ответить
@jagnoorsingh1087
@jagnoorsingh1087 - 25.10.2023 10:07

Yes it is possible to have a RB tree with all black nodes if and only if it is a perfect binary search tree.

Ответить
@educationlocus2302
@educationlocus2302 - 22.10.2023 11:25

Yes it is possible to have all nodes as black tell me one thing Ma'am why this is called red black tree

Ответить
@b_01_aditidonode43
@b_01_aditidonode43 - 20.10.2023 13:30

yes a red black tree with just root node that is black exists so red black tree with all black nodes is possible ...great explaination

Ответить
@nithishchandravyastalluru8414
@nithishchandravyastalluru8414 - 17.10.2023 00:54

love u jenny

Ответить
@vgreddysaragada
@vgreddysaragada - 11.10.2023 13:53

very elaborative explanation..got the full clarity of node insertion and rotations in this video..Thank you so much

Ответить
@SAUMYAJINDAL-xy7wg
@SAUMYAJINDAL-xy7wg - 11.10.2023 10:57

Thanks for the amazing and deep explanation.
No, It is not possible to have all black color nodes in a red black tree because, whatever we do, the last node must be red of the tree.

Ответить
@anshikagupta6647
@anshikagupta6647 - 09.10.2023 10:47

This video is a gem

Ответить
@Game_Masters
@Game_Masters - 04.10.2023 01:26

kill me

Ответить
@g51661
@g51661 - 23.09.2023 21:18

Maam . Thanks a lot. This is very confusing topic for rotation but now everything is clear to me.( those having confusion just read gfg algo once then watch video u will surely perform well in exams)

Ответить
@sushantarora5566
@sushantarora5566 - 22.09.2023 21:12

yes maam its possible to have all the black nodes in a red black tree as explained in previous video

Ответить
@techwanderSan
@techwanderSan - 14.09.2023 21:21

Love u❤❤❤😊. It helped me for my exam

Ответить
@holylifechannel8683
@holylifechannel8683 - 07.09.2023 05:30

It was such a wonderful explanation thank you so much mam 🎉🎉🎉

Ответить
@Burak-cr6um
@Burak-cr6um - 18.08.2023 00:01

I really appreciate this explanation, it's been super helpful. I was having a hard time, but now things make much more sense. Thanks a lot

Ответить
@aneezashahzadi
@aneezashahzadi - 14.08.2023 20:18

Thanks..

Ответить
@knanzeynalov7133
@knanzeynalov7133 - 09.08.2023 19:23

Thank you so much for the help! Your videos has been so helpful during Data Structure class!!

Ответить
@Ke_eK
@Ke_eK - 08.08.2023 18:05

Never forget that the 'Rechecking step' is only required for the case of 'Uncle is Red & Parent is Red'. It's because only this case is the situation where the internal Black node becomes Red. The other case, where the uncle is black, this 'Rechecking step' is not needed. It is important to know this when the actual implementation should be done.

Ответить
@gyaanop8434
@gyaanop8434 - 06.08.2023 08:17

Mam you are just Beauty with Brain 🧠❤️ thank you mam

Ответить
@KRR530
@KRR530 - 22.07.2023 18:57

Hello mam
Mam when 25 insert RL condition is there we don after that 30 is leaf node but firat 25 is leaf node so we cant chage it's color we change only 18 and 30 na how its possible mam bcz we insert 25 so it is constant no need to change its color na

Ответить
@nithinyesudas5373
@nithinyesudas5373 - 16.07.2023 20:54

it is not em-pa-ty..it's pronounced as em-ty...p is silent

Ответить
@rishabhmishra477
@rishabhmishra477 - 03.07.2023 12:42

Where ' s the code of avl and red Balck trees?

Ответить
@kevinlim8477
@kevinlim8477 - 03.07.2023 07:55

this channel teaches me faster than my professor😂

Ответить
@rahulboat6174
@rahulboat6174 - 01.07.2023 14:33

Empty is a word but imty is a emotion❤

Ответить