Insert into an AVL tree / tusharroy25 github.com/mis... github.com/mis...
Пікірлер: 388
@AbhishekNigam8 жыл бұрын
Thanks for the lucid explanation. Just one thing, you made a mistake @11:30 by placing 5 to the right of 6, it should've come on its left.
@ayushsrivastava52788 жыл бұрын
Abhishek yha pr bhi aagye aap..
@soonchitachakraborty85835 жыл бұрын
5 should be the root of the subtree and 6 should be right child and 3 left child
@akpananiefiok87303 жыл бұрын
i thought as much
@amanem23059 жыл бұрын
at 10:35 you are inserting 5 but adding it as right child of 6, It is less than 5 and should go on the left to support BST property
@AkshayrajKore5 жыл бұрын
I am surprised he hasn't corrected his mistake after 4 years
@skaushik44365 жыл бұрын
@@AkshayrajKore It's understood as he has made us understand the concept. Only because of his flawless teaching you are able to detect that minor flaw.
@rajatpachauri25464 жыл бұрын
@@AkshayrajKore He is in seattle bro . Now he doesn't make videos any more. It's great that before going there he has created such good videos for us. You should be thankful to them.
@gussamanj4 жыл бұрын
if you are able to understand the context, then the video is worth it
@ghoshdipan4 жыл бұрын
it looks like he just vomit what he has mugged up!!! He just upload videos just to earn. Doesnt care about students.
@jeffreydilley33807 жыл бұрын
I have a test on trees in an hour, and this video is saving my life. Clear, concise, and well presented. Thank you!
@tanmayagarwal85134 жыл бұрын
Its very hard to speak continuously for 18 mins without any expression. Great job man!! Your explanation is very clear!
@yoursaritrai72748 жыл бұрын
I have searched many video tutorials but this one has served my purpose to the fullest. Beautiful explanation, very useful !!
@simransandhu41288 жыл бұрын
I was a bit confused about left-right and right-left rotations. You explained them quite well. Thank you
@Raksh68 жыл бұрын
I am a master's student and your channel is the 1st place i look into when i need algorithm design related concepts. Thank you very much! Keep up the good work.
@neelshah77598 жыл бұрын
Being a Masters student, these videos have been a real help to me. Thanks.
@yujeanyee7 жыл бұрын
Seriously though, your explanations are excellent. They are concise, clear, and you always start off with plain examples before jumping into code. Thank you for these videos!
@wingryda8 жыл бұрын
@TusharRoy thank you for putting these videos up. They are easy to understand and is exactly what I am going over in my cse class now.
@ashikahsharifudeen45239 жыл бұрын
thanks, u're explanation is far better that my lecturer
@mikethompson46808 жыл бұрын
This is definitely the most concise and organized explanation I've ever seen. Bookmarked and subbed
@SaeedGuilani8 жыл бұрын
It's very humble of you to say "it's all I have to say for AVL trees.." :) Thank you for doing this. It's great!
@SankalpAnand9 жыл бұрын
Great video. Great explanation. I was able to do the exercise problem without looking at the video using the left left.... approach. Awesome work. Thanks man.
@vineetrohatgi7793 жыл бұрын
He has done a great job of explaining the concepts. Really appreciate it and thank you .!!
@nikoszervo7 жыл бұрын
Your accent is difficult to understand but you teach 100000000000 times better than my profesor!!! Because of you i understand now data structures and i'm really grateful for it! Keep up the nice work!
@nereaortiz41448 жыл бұрын
I'll have a test about AVL, and we didn't learn it on class. You helped me with the logic. Now I get it. Thanks!
@manggo52085 жыл бұрын
Even though there's some mistake, your explanation video really help with the logic. Thanks a lot.
@puneetkumar96097 жыл бұрын
I can say this is by far the best video about avl tree i came across. Thanks!
@AnkitKumar-zu7cn5 жыл бұрын
Who else can explain better than him! Thanks Tushar for putting this up....
@apoorvkansal75237 жыл бұрын
Thank you! The concise explanations yet step by step approach makes learning so much easier.
@SrushtiPatilp98 жыл бұрын
Atlast I understood AVL tree concept Thanks alot Sir..!!
@NachoCTA8 жыл бұрын
very clear explanation. good job
@linadam83258 жыл бұрын
Preparing for CSIE graduate institute now. Thanks for helping me to clarify the concepts of AVL tree. :)
@OgllyBoogly8 жыл бұрын
This review just saved me on an assignment I should have done a few days ago, thanks!
@borasemiz95128 жыл бұрын
"Rotation" word is really confusing my mind.
@kawingpoon96396 жыл бұрын
It is much better than spending 1hr on MIT online lecture about AVL....briefly, more efficent
@shyaammuthusamy52032 жыл бұрын
Thank you Tushar for such great explanation.
@awadheshamar60128 жыл бұрын
You are doing great Job Tushar. I have learnt lot from your video .Thanks a lot.
@andriybondarenko62828 жыл бұрын
Very nice lessons. Were useful while doing my university lab by algorithms and data structures. TY a lot!!!
@JustmeAgainOk7 жыл бұрын
the code is bit misleading : rightRotate means the rotation/Push is occurring from the right side of with the root moving down towards the left , while a leftRotate means the rotation/Push is occurring from the left side of the root with the root towards the right side, thus the LL will require a single leftrotate and RR will require a single rightRotate and Code provided will be less confusing.
@200146258 жыл бұрын
awesome video, avl makes insertion makes a lot more sense now thanks man
@lakshmibendalam72055 жыл бұрын
Your explanation is too good Thanks 👍👍👍👍 for giving classes
@DentrifixoRam886 жыл бұрын
Hi from Argentina . Tushar you’re cool and good at teaching
@rohiniv32989 жыл бұрын
superb explanation.......gr8.....it helped me lot to finish off my assignments.....thanku sir....
@aravindasaigadamsetty90046 жыл бұрын
very cleanly understood sir, Thank u very much.
@kikchan948 жыл бұрын
The best explanation I've seen so far in KZbin! Thank you very much mate!
@archanamasilamani51158 жыл бұрын
Thank u so much. Your tutorials are very clear and easy to understand :)
@borishuang8877 жыл бұрын
OMG i watched all his algo videos and today i unveiled he's a seahawks fan!!! GO TUSHAR!!!!!
@rohangz8 жыл бұрын
Hats off Sir thank you for the help and keep posting
@NippyWolf8 жыл бұрын
EXCELLENT explanation. Thank you Mr.Roy
@RagePanda948 жыл бұрын
Thanks so much I now will pass Data Structures
@vishvaspatel348 жыл бұрын
Man thank you so much. I have learned many important concept from you channel. It will be a great help me and many other people if you make series on sorting of algorithms, and some data structures like linked list, array list, vector and hash table.
@pixoled9 жыл бұрын
Thanks a lot Tushar, it was really easy to understand how it works and well explained.
@AlivHasan9 жыл бұрын
U r awesome ROY SIR...love ur lucid xplaination !!!
@sameeradissanayake94678 жыл бұрын
This will save my grade this time! Big Thank Thushar!!!
@pro_mode147 жыл бұрын
For insert 1 rotation is at most. For delete the number of rotation is bounded by O(log(n)). Log(n) is the height of the tree. More explanation on AVL deletion. When you delete a node from AVL you might cause the tree unbalanced, which you have to trace back to the point where it is unbalanced. If the unbalanced point is the root. You have to rebalance the tree from top to bottom.
@San2hosh9 жыл бұрын
Like your videos, have book marked them all, keep up the good work.
@editam.51027 жыл бұрын
Excellent tutorial Tushar.
@AbdulMatheenShaik8 жыл бұрын
Excellent explanation.Great job.
@remariorichards82379 жыл бұрын
very good explanation,nicely put together and flowed accordingly!
@unnatidesai27688 жыл бұрын
Thank you sir for the brief explanation about the avl tree😃
@AakashDeepCruZBladE8 жыл бұрын
Most Clear explanation available in KZbin, helped a lot, thanks!! SUBSCRIBED ;-)
@kavyasingh4412 жыл бұрын
5 is inserted as right child of 6, AVL is also BST!
@arabindapratihar39539 жыл бұрын
amazing explanation....great speaking quality...carry on sir...
@nathkhatnandini53617 жыл бұрын
Bhut hi bdhiya smjhaya aapne to...
@mohammedthoufiq53639 жыл бұрын
very good explaination i got the concept though i tried to learn this concept a night my exam
@dombeeduck8 жыл бұрын
Your videos have been a wonderful tool for studying and clearing things up from my data structures class. :D Keep up the great work
@DanielBoakye8 жыл бұрын
best tutorial ever. you are the man.
@123Pyszny7 жыл бұрын
Very clearly explained. That's what i needed. Thank you!
@vedantsahay87508 жыл бұрын
Thank you so much Tushar, your video was very helpful for my assignents
@roverphoenix8 жыл бұрын
Hey Roy. Nice explanation, one small mistake @8:05 though, for avl tree insertion the insertion is scoped locally and does not propagate unlike deletion
@DishaSaraiya_xo5 жыл бұрын
Watching this as a student in Seattle, and you're wearing the Seahawks tee. LOL!
@giodude07468 жыл бұрын
Thank you! I finally understand how to balance a tree! My professor went over it but I could not get it. but it's actually pretty simple :3
@arhankundu25164 жыл бұрын
Thank you so much for the wonderful explanation
@adarshisinha35467 жыл бұрын
a very nice well explained video.. I have been trying to understand it from a book but didn't capture anything
@tamimmehedi37035 жыл бұрын
Thank you Mr. Roy for your clean and quick explanation. gonna subscribe.
@jtrinh29 жыл бұрын
Great Video mate, very well explained
@HM_Sharma9 жыл бұрын
in avl tree and insertion , 5 is less than 6 so, it must be left of 6
@sourabhpasi41749 жыл бұрын
+hiramani sharma actually it was 15 !! He corrected the video :)
@hritikjain34919 жыл бұрын
+sourabh pasi still video is not corrected
@tyler6819 жыл бұрын
+Hritik Jain Yes.. it is...
@akshit245969 жыл бұрын
+Hritik Jain unhide your annotations
@fufuto7 жыл бұрын
Best video I've ever seen about this topic thank you so much but there is one thing that needs to be changed, I coudn't see the code behind while you are working on board so it is kinda hard to catch up
@fufuto7 жыл бұрын
Btw aren't they pointers why do we use dot notation ?
@29miguel19968 жыл бұрын
Omg excellent explanation. Nice job sir
@syamalak21535 жыл бұрын
Awesome explanation ..tqqq.very much .sir
@AtaurRahman-jt8bd8 жыл бұрын
Briefly explained. Thank you
@swapnil20008 жыл бұрын
a beautiful explanation !.. It saved my time !.
@mareckste9 жыл бұрын
very clear to understand .. nice tutorial.
@sharifabahar62579 жыл бұрын
Wow awesome explanation . Thanks a lot .
@Repket7 жыл бұрын
Great video! Thank you for taking the time to make these extremely helpful videos!
@subhashsaran41998 жыл бұрын
Thanks a lot sir, you are really great cleared all the confusions :) please keep posting great videos like this !!
@abdulbaricse8 жыл бұрын
awesome explanation........keep going
@vanetoj7 жыл бұрын
great job! super clear explanation
@tc07client56 жыл бұрын
Tushar please make videos on a regular basis (1-2 times a week) for ACM ICPC and IOI (International Olympiad of Informatics).
@nabilaaziz34469 жыл бұрын
awesome ! thankyou very much! This really help me before i seat for the test :)
@rishabhmalhotra70588 жыл бұрын
Your videos have helped me a lot. Thank you for your effort :)
@23vidhya8 жыл бұрын
Thank you for uploading and explaining very well! Can you please upload AVL deletion this week end please?
@cazacurazvan26898 жыл бұрын
It's a very nice and clear explanation , thank you so much ;)
@TheOscarJB5 жыл бұрын
bro, thats you again, happy to see u when i finding online tutorial for my exam revision
@AK-po1nm8 жыл бұрын
Thanks Sir for the wonderful video. Are you planning to put up a video on AVL deletion too?
@zishunokia62338 жыл бұрын
Great job !! Very helpful.. Waiting for more uploads
@alexsmith40369 жыл бұрын
Very good explanation bro....
@tapasyakala46139 жыл бұрын
Really nice explanation
@michael220005 жыл бұрын
A mistake was made, but he explains things very clear. :) Good job, you really helped me.
@nishithakur4247 жыл бұрын
nothing can be more clear than this
@rituagrawal22187 жыл бұрын
Hi Tushar. As always great explanation. I request you to please upload video for avl deletion video too. I searched a lot of videos for it. Couldn't find anyone which clears me. I request u Thanks
@chandrasekharamkotari9367 жыл бұрын
thanks for your clear explanation.
@amitpadgaonkar88305 жыл бұрын
Great explanation...Thank you.
@vinodmanikanta8 жыл бұрын
tk u very much unique easy explanation hats up
@kirilsivilov37327 жыл бұрын
Thank you so much for this awesome explanation video/tutorial!!!!