I am studying IT in Australia currently. This is the first video I found on Red-Black trees where I actually understood the topic because you start from the basics and give lots of examples. Thanks and gratitude from Australia! Also, the last question tree is not Red-Black because the left NIL child of 15-node creates a black path that is of different length. Very good question, makes a person think deeply. Keep up the great work!
@asadkamal892 жыл бұрын
Can u please sponsor me for australian study visa???
@learncodeandphotoshop23282 жыл бұрын
hey, hi did you find a job? what your linkedin?
@hemanshuwaghmare7460 Жыл бұрын
bro kya faida Australia me padke chii bhai isse aacha tu india ke sarkari school me pad leta😂 paisa barbad!!!
@rkhumorist1341 Жыл бұрын
@@asadkamal89 yes i can sponsor you!!
@SudhirKumar-w5n4t10 ай бұрын
Hi bro
@kdoxfkck3 жыл бұрын
Seriously.....you are too good at teaching....I rarely appreciate people....but u deserve not only appreciation but also a heart❤️❤️... Thankyou so much ma'am for your precious teaching...🙏🙏
@AdityaPandey-ns8kl5 жыл бұрын
Videos like these make going to college absolutely unnecessary. Stupendous work!
@eddyecho4 жыл бұрын
This is only true for people that already know exactly what to study to learn what they want to learn. Otherwise I can't see how someone who has no prior knowledge would even know to search for this video or have any appreciation for it. I suppose someone could read an introductory textbook but most people don't do that.
@yeswhynot319Ай бұрын
@@eddyecho syllabus is a thing lol
@vikas420mudimela95 жыл бұрын
The most intelligent approach that i have never seen in my academic year
@ayushpaine56502 жыл бұрын
Galat college main padhrae tu
@abs809004 жыл бұрын
In all the languages spoken on earth, THANK YOU SO SO SO MUCH!!!!!!
@anuragtiwari25114 жыл бұрын
dont know someone said this to you or not but, i would say best explanation ever heard....Appreciations:)
@chrischauhan16493 жыл бұрын
This is one of the best explanation of the Red-Black tree on the internet. Kudos to you.
@gabriellaryanie73424 жыл бұрын
I really love your videos since I have just started 2nd semester and is starting to learn data structure. Your videos have helped me finish my homework, recommended!
@34_harshdeepraghuwanshi983 жыл бұрын
Where do you live?? India
@RISHABH-VERMA11 ай бұрын
Woah, you studying red black trees in 2nd sem ?
@Gyaani-p8w7 ай бұрын
@@RISHABH-VERMA mera to 1st sem hai 😀
@RISHABH-VERMA7 ай бұрын
@@Gyaani-p8w Nice, I'm in PG
@muhammadmuneeb11255 жыл бұрын
Thanks a lot Mam, I am from Pakistan you are too much hard-working lady. May Allah bless you with your dreams Again Thanks a lot mam
@Nitishkumar-rd4jq4 жыл бұрын
India needs these kind of people for educating other's for free of cost
@andrew2jaramillo4 жыл бұрын
I don't understand how ppl can give her a negative review. This is so good!!
@alekyaathaluri51233 жыл бұрын
no one here gave negative review
@ashu7pathak4 жыл бұрын
Awesome lesson, as answer to your question @ 32:43, it's not following 4th property as there is a left NIL node of 15 having only 1 Black node from root to NIL leaf node, all others have 2!
@factwithhunny0782 жыл бұрын
Bro it is not complete binaray tree
@smokersmoker252911 ай бұрын
finally i found answer in comment section tq.......😇
@a.m.415410 ай бұрын
If you're following the DSA textbook by Goodrich, Goldwasser, and Tamassia, the violated property is also called the depth property ('ALL nodes with zero or one children have the same black depth whereby a black node counts as it's own ancestor') which is violated by node with key 15.
@nonstopcodingcodewithadity823810 ай бұрын
tho kare kya fir ? @@a.m.4154
@Priya_happyface5 жыл бұрын
Aap bahut acha insaan ho Aise hi hmari help krti rehna mam Phir jab job mil jayega to aapse Milne aaungi
@JennyslecturesCSIT5 жыл бұрын
promise kro ki milne aaoge.... hehehe
@Priya_happyface5 жыл бұрын
@@JennyslecturesCSIT promise mam
@harshjha53045 жыл бұрын
@Md Aman job lagalo pehle :)
@unboxing94165 жыл бұрын
@@JennyslecturesCSIT hehe
@amanmaddhesiya5665 жыл бұрын
The way u explain is very nice Keep it up mam
@jacksentalksjst70142 жыл бұрын
as i am studying in germany here i found first video to clear all my doubts. thankyou so much mam.
@vjayasinghe86953 жыл бұрын
thankyou so many more.. i searched lots of videos about red black trees.. but i couldn't find any of video to touch my brain..this is the only one..thankyou so much.😍😘
@Burak-cr6um Жыл бұрын
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!
@a_sunshine_214 жыл бұрын
One of the best explained contents. Not only datastructre ,each and every video of urs. Best out of all. ❤
@poojatiwari70435 жыл бұрын
Last property is being violated. ...thank u so much mam for this lecture
@patils224 жыл бұрын
Hello mam, The BST is not a Red - Black Tree, since the path 10 - 15 - Nil has only 1 black node, whereas all other paths have 2 black nodes.
@TheAbsoluteSir3 жыл бұрын
Can you give me a timestamp for the tree you are referencing?
@onkarhalder46603 жыл бұрын
@@TheAbsoluteSir 32.47
@AkhilPulidindi3 жыл бұрын
@@TheAbsoluteSir mam asked the question whether the tree is red black tree or not. She said to type answer in comments at 32:40
@aydendarian17853 жыл бұрын
i know Im asking the wrong place but does anyone know of a way to get back into an Instagram account?? I was stupid forgot the login password. I would appreciate any help you can offer me
@sofiaabbasi24043 жыл бұрын
@@aydendarian1785 change password
@studyonline32362 жыл бұрын
lecture starts at 8:21 and 11:50
@dineshbs66353 жыл бұрын
Insertion in AVL tree takes a maximum of 2 rotations. Deletion can many rotations. Hence, Red Black trees are used if insertion & deletion operations are very frequent
@raginirajpoot27113 жыл бұрын
Thanks a lot Ma'am. You are amazing 🤩🤩🤩 Just Because of you I understood Data Structure last year .... And now finally I found your videos about DAA... 😁😁
@ayushpaine56502 жыл бұрын
Abe pucha kisne
@raginirajpoot27112 жыл бұрын
@@ayushpaine5650 saaale teri esi ki tesi........kyu bhonk rha he be.......mirgi ke dore to na pd rhe tereko.....saale chle aave muh uthake .,..🤬🤬🤬😡😡😡😡
@AbhishekSingh-sy9ze5 жыл бұрын
I was unable to explain this topic in Geeks for Geeks interview, although I am good at competitive programming. But you explanation is quite good. I knew the concept already but now I can explain it to anyone. Thanks a lot ! (I wish you were my teacher, so pretty) .
@Amira202345 жыл бұрын
Really Great Lecture.. Not found this much information any where,, Many thanks from Germany
@ashu7pathak4 жыл бұрын
14:06 - Head of family, like grand parents do yoga and always remain calm. Therefore, root's always black :D
@amritpalsingh72625 жыл бұрын
Thank you very much mam, i was waiting for this lecture especially from u n finally it's here. And getting to ur question, this not a RB tree, bcoz it's violating the last condition i.e. the no. of black trees are not same.
@sujathaganesna96043 жыл бұрын
I am listening to my online classes from 1week on topic red black tree...but this 30 min video helped a lot to understand....tq so much mam ...❤️
@vaibhavgarg42675 жыл бұрын
Great Explanation. You make complex topics easier. Awesome way of teaching :)
@mbm662 Жыл бұрын
Thank you ma'am for the best explanation ❤ . Yours teaching classes are very helpful for engineering students 🙏
@saaagararts5 жыл бұрын
32:45 It os *NOT* Red-Black tree. Because it is voilation property of every path has same Black Nodes. (At node 15 path is having only 1 Red Tree).
@satya84114 жыл бұрын
Shortcut: If a red node exists it shouldn't have a single child It should always have 0 children or 2 children
@ashu7pathak4 жыл бұрын
@@satya8411 I agree!
@sagar104gurgaon4 жыл бұрын
www.geeksforgeeks.org/red-black-tree-set-1-introduction-2/ please go thru it.
@chinmaywalinjkar73403 жыл бұрын
this is the wrong answer pls don't misguide
@mrwlf48403 жыл бұрын
@Satya
@simple_hiddencomputer_tric95793 жыл бұрын
Beauty and wisdom in one person ..bravo!
@newsanalysis48312 жыл бұрын
kzbin.info/www/bejne/apmlZ2CXbatsj9k
@jithunniks5 ай бұрын
You really have an exceptional ability to explain.
@a-064ramakantchhangani43 жыл бұрын
The node with value 15 has no left child and total number of black nodes to the path 15 -> NIL is 0 while to the path 15 -> 25 -> 20 -> NIL is 1 and such further paths . So , not a red black tree.
@mrThundergodpro2 жыл бұрын
Bro we know nil node also a black node so we count that node so it is red black tree
@qazidawood9952 жыл бұрын
@@mrThundergodpro nill is a black bit that is one extra for each... I think ta makant has a valid point.. Its not a rbt
@shaankhaan16862 жыл бұрын
@@mrThundergodpro yes but if this u consider than every path has one nil leaf so then total no of black in each path is not same bro😀
@vasusuryavamsham48822 жыл бұрын
15 has another left nil node which makes a path from 10 with only 2 black nodes so it is not red black tree
@utkarshsingh50842 жыл бұрын
Sir aap idhar 🦧🦧🦧
@sirishagolla96313 жыл бұрын
Iam not understand English properly but your speaking iam easily understood you have awesome English skills mam ❤️
@crickeditzz6 ай бұрын
00:02 Red black tree is a balanced binary search tree 02:22 Binary search trees follow the property of left subtree having values less than the node and the right subtree containing values greater than the node. 07:39 Red Black trees ensure balanced trees with fewer rotations 10:09 Red black trees offer efficient time complexity for search, insertion, and deletion operations. 15:20 Red Black trees have specific rules for node colors and relationships 17:54 Red Black tree should have equal black nodes on all paths 22:41 Root should be black in a red-black tree 25:01 Red black trees are perfect binary trees with additional properties 29:24 Red Black tree property: longest path from root is no more than twice the length of the shortest path. 32:02 Red Black tree insertion logic
@hamzaanwar72042 жыл бұрын
Ma'am the way of ur teaching is just mindblowing😇
@mukul42434 жыл бұрын
Answer of question asked in video - No it is not a red black tree because it is voilating the condition i.e every path has same number of black nodes ....(here after 15 there should be a black node to make it a red black tree) Thank you mam.
@chirag47833 жыл бұрын
1 crore
@Laloloop4 жыл бұрын
I feel like an expert in red-black trees now haha, and I’ve never read anything for more than 2 mins about it. So, the last example is not a red-black tree, because in the right side you have a path to a nil with only one black node, and the others have 2 black nodes. Still a little bit confused on usages, although the properties of self balancing are pretty cool, I guess that’s what the red or black abstraction is for. Thank you! Keep up the good work!
@chocolaty_gurl3 жыл бұрын
No bro in right side also 2 B nodes one is root that is always black
@vishnu88-o1x Жыл бұрын
After watching your videos definately I am big fan of you.thanks for your teaching
@0neAboveAll2 жыл бұрын
I should pay my tution fees to you instead of my college. U are a great teacher Mam.
@nigarsultana17394 жыл бұрын
Definitely a great lecture mam. I am very beginner but I understood your videos completely. Thank you so much mam.
@Binks1358 күн бұрын
00:02 Red black tree is a balanced binary search tree 02:22 Binary search trees follow the property of left subtree having values less than the node and the right subtree containing values greater than the node. 07:39 Red Black trees ensure balanced trees with fewer rotations 10:09 Red black trees offer efficient time complexity for search, insertion, and deletion operations. 15:20 Red Black trees have specific rules for node colors and relationships 17:54 Red Black tree should have equal black nodes on all paths 22:41 Root should be black in a red-black tree 25:01 Red black trees are perfect binary trees with additional properties 29:24 Red Black tree property: longest path from root is no more than twice the length of the shortest path. 32:02 Red Black tree insertion logic Crafted by Merlin AI.
@zinanzine76744 жыл бұрын
I came here to for a research, ended up admiring Indian teachers.
@hAsH_learn2code4 жыл бұрын
Not all indian teachers are same, she is extraordinary
@geekeansh69005 жыл бұрын
Mam I m so much thankful to you I m in btech 3rd yr I was facing real issues understanding DAA now I m able to get cover all topics I m will definitely meet you after being independent and gift you with my own income thanks alot and really you are beautiful and my crush too haha 😇😇😇😍
@mystmuffin36004 жыл бұрын
glad I scrolled down
@sahilgaikwad20023 жыл бұрын
Mam you are amazing I have lot confusion about red black tree. After watching this video that confusion is gone 😃 thank you mam🙏❤️😊
@stephenhowe41074 жыл бұрын
20:53: Jenny introduces a 12 node to black path count is 2. But without introducing a node, make 15 black, 20 red. It becomes a red-black tree and all paths have a black path count of 2.
@kunalkheeva Жыл бұрын
thanks.
@Amine-gz7gq2 жыл бұрын
Very clear ! Thank you, I can sleep less ignorant about this topic. C++ STL's std::map is a RB-tree.
@larsson44887 ай бұрын
This is top notch teaching!! Many thanks
@americantech4151 Жыл бұрын
Great Explanation. I learnt a lot,Thanks you so much Mam....from srilanka❤
@abhishekchandel40175 жыл бұрын
In college I don't understand well to this topic, But Now I have clearly understood to this topic. Thank You so much mam for providing such type of lectures 🙏🙏☺
@ayushpaine56502 жыл бұрын
Us bhai us
@ayushpaine56502 жыл бұрын
Ek toh Sujith ko padhana aata ny h lauda
@toetoeagАй бұрын
You have explained very clearly.
@GauravKawatrakir4 жыл бұрын
It's better to have the script because we forgot sometimes what we speak or what we suppose to speak. Explanation is damn good.
@abhinav_himxp4 жыл бұрын
yeah
@SandeepKumar-lh7ge5 жыл бұрын
Waiting for this... Thanks you so much Mam😊😊 Keep it up 🤗
@JennyslecturesCSIT5 жыл бұрын
yup... will upload insertion and deletion on tomorrow and day after tomorrow
@ManeeshRamaram Жыл бұрын
i dont even study engineering but yet watching the whole thing with hundred percent attention.
@sakthij70032 жыл бұрын
I like that she wrote Black in black marker
@khushbuverma8972 Жыл бұрын
Maam you are a good teacher
@LakshmikanthkSICS3 жыл бұрын
Mam ur teaching is assum mam I think ur teaching more helpful for students
@fallinlovewithcars3 жыл бұрын
Thanku sooooo much ma'am for these lecture. These lecture help a lot for our university exams
@Milind.x5 жыл бұрын
your teaching made it easier to understand the concept..... thank u for such videos......
@susml7675 ай бұрын
You are unique!! Excellent and to the point!!
@SaileeShingare4 жыл бұрын
Thank you making me understand the concept of red- black tree clearly, needed this in lockdown ☺️
@ayushpaine56502 жыл бұрын
Randike lockdown Main kya karra tha tu
@shubhamaggarwal46763 жыл бұрын
Awesome teaching and great explanation ❤️❤️
@MuhammadUsama-zf3iu4 жыл бұрын
Awesome Video, Thanks for Sharing, It always amazing to learn from beauty with the mind.
@OnlyCompleteSolution4 жыл бұрын
Ha mam h red black tree Mam aap bhut achi inshan ho Bahut acha badati ho Mere ko shi english nhi to be Samj a rha h thankyou mam
@abhisheksiwach14065 ай бұрын
Thanks a lot for all the efforts !
@jenishdholariya62245 жыл бұрын
I am waiting for that video thank you so much mam you are helping us very much .. . 👩🏫
@armandoantoniogarduno49692 жыл бұрын
Thanks for sharing, the RB Trees looks clearer now.
@stasbakalo62642 жыл бұрын
Wow, that is very clarifying explanation, thank you!
@neelmanikumar67655 жыл бұрын
Thank You, ma'am, for such a beautiful explanation ...
@mukundingle11972 жыл бұрын
liked what you said about why head-of-the-family is black and not red and doing Yoga :-)
@hemanthsuresh2 жыл бұрын
Thank You very much maam because you are doing a great job especially at these times where everyone is running behind profit and money . Some good humans still exists in this pathetic world. 🙏
@codingpracticewithabrar95543 жыл бұрын
Great lecture and the answer to question on the end is 10->15->nil path, the count of black property is not maintained
@arusanoor65944 жыл бұрын
i love ur teaching method
@dharmeshshrivastava6714 Жыл бұрын
Ma'am Please make videos to elaborate Computational Geometry (1D,2D, Quad tree etc). I also would like to mention that your way of teaching is awesome. Thanks.
@Badwolff.3 жыл бұрын
Your video s is mind blowing
@SandipHodkhasa5 жыл бұрын
Very refreshing to see a KZbin instructor that is not male
@Vjvlogs77711 ай бұрын
thanks jenny helped me for my exams
@nirmalrajpurohit27286 ай бұрын
Quality teaching !
@neelasatyasai68522 жыл бұрын
Being a Mechanical, reached video 64/112 in this playlist.
@mohit78755 жыл бұрын
The process of teaching is very well and I am very thankful to you
@shahdmohammed9514 Жыл бұрын
you are perfect !! thanks for bieng this professional
@LiquidWater913 жыл бұрын
Thank you for this awesome video, I never understood how red-blacks were better then other trees before. but your explanation of how it compares really clicked, thanks a lot!
@k.mahesh70842 жыл бұрын
U and ur explainantion is very beautiful
@ericfricke45123 жыл бұрын
Very thorough and clear, thanks.
@vakhariyajay22242 жыл бұрын
Thank you very much. You are a genius. 👍👍🙏🙏👌👌🔝🔝
@akanshasharma13654 жыл бұрын
didi you are so good , because of you i m interested in daa , thanks for clearing our doubt
@shaswatdasgupta37765 жыл бұрын
Hi All my life I feared datasturcture until I came across your channel. Thank you so much. About the question definitely its not a red black tree because, the no of black nodes from the root to leaf nodes is not constant. From left if I consider nil then the no of black nodes are 3, but the right sub tree it's 2 (If a black node is consider after 15 (Red).Did I get it right? 👍 from Bangalore
@LochanSaroy2 жыл бұрын
Bro isn't this tree voilenting the 4 the property that is ''Every leaf which is nil should be black'''.
@saaagararts5 жыл бұрын
Take your notes at 32:48 (rules for Red-Black trees)
@chetnawadhwa43452 жыл бұрын
Very knowledgeable and understanding video
@princekumar-ot1ul Жыл бұрын
In last example(at 32:50)........It is not a RB tree.....violating last property(at node 15)
@bikrambikashdas40577 ай бұрын
true
@sriramamara51005 жыл бұрын
Mam love you .. excellent teaching
@astr0plays5 жыл бұрын
11:50 - Thank me later
@esra_erimez4 жыл бұрын
Oh my God! THANK YOU!!!!
@viplovedev4 жыл бұрын
Thank you!
@lawbindpandey4024 жыл бұрын
Damn bro didn't get u first time but after watching for 11.50 minutes .I understood you!!🤣🤣by the way thank you!! Try to be more specific next time ..it'll be of much help...thank you once again
@jojomampilly2744 жыл бұрын
1 min in.. i got you bro
@shashisharma3074 жыл бұрын
Story starts from here... :D
@upsccivilspreparation31412 жыл бұрын
Really I love you ma'am.. you are awesome
@furzi14323 жыл бұрын
The last tree is not red black as from 10 -- 15 -- Nil only 1 black and all other path have 2 black. Thankyou so much mam😀😀😀👍👍👍🙏
@tushargupta20095 жыл бұрын
most awaited topic, thnku mam
@jigarjoshi18115 жыл бұрын
I wish ki you were my college teacher I wont bunk a single Lecture of yours
@JennyslecturesCSIT5 жыл бұрын
ohhh really, great......you can assume me as your teacher
@jigarjoshi18115 жыл бұрын
@@JennyslecturesCSIT you are my teacher. It would be nice if you can teach all subjects!!! 😅
@mahendrasahani914810 ай бұрын
good teaching methodology...thankq madam
@rahuldeshpande351610 ай бұрын
Answer: Its not a red black tree. Because of the left nil of Red Node 15. Property - all paths have same # of black nodes is violated for root node. It has only 1 black node on its path from Root to 15 to left NIL (we don't consider the root color in calculation)
@anjalikhatri19624 жыл бұрын
Thank you mam for doing such a great work❤
@Badwolff.3 жыл бұрын
Hi she is the best teacher
@kashmiramathur86734 жыл бұрын
Thanks a lot maam u r doing a really great job. Grateful to uh