Lec-59: How to Create AVL tree | LL, RR, LR, RL Rotation in AVL | Data Structure

  Рет қаралды 923,583

Gate Smashers

Gate Smashers

Күн бұрын

👉Subscribe to our new channel: / @varunainashots
0:00 - Introduction
0:50 -When Binary Search tree is unbalanced
0:57 -First case
03:41 -RR transformation Second case
05:38 -Third case
07:47 -Last Case
AVL tree is a self-balanced binary search tree. That means, an AVL tree is a binary search tree but it is a balanced tree. A binary tree is said to be balanced, if the difference between the heights of left and right subtrees of every node in the tree is either -1, 0 or +1.
►Data Structure (Complete Playlist):
• Data Structure
Other subject-wise playlist Links:
--------------------------------------------------------------------------------------------------------------------------------------
► Operating System :
• Operating System (Comp...
►Database Management System:
• DBMS (Database Managem...
► Theory of Computation
• TOC(Theory of Computat...
►Artificial Intelligence:
• Artificial Intelligenc...
►Computer Networks (Complete Playlist):
• Computer Networks (Com...
►Computer Architecture (Complete Playlist):
• Computer Organization ...
►Structured Query Language (SQL):
• Structured Query Langu...
►Discrete Mathematics:
• Discrete Mathematics
►Compiler Design:
• Compiler Design (Compl...
►Number System:
• Number system
►Cloud Computing & BIG Data:
• Cloud Computing & BIG ...
►Software Engineering:
• Software Engineering
►Design and Analysis of algorithms (DAA) (Complete Playlist):
• Design and Analysis of...
►Graph Theory:
• Graph Theory
►Programming in C:
• C Programming
►Digital Logic:
• Digital Logic (Complet...
---------------------------------------------------------------------------------------------------------------------------------------
Our social media Links:
► Subscribe to us on KZbin: / gatesmashers
►Subscribe to our new channel: / @varunainashots
► Like our page on Facebook: / gatesmashers
► Follow us on Instagram: / gate.smashers
► Follow us on Instagram: / varunainashots
► Follow us on Telegram: t.me/gatesmashersofficial
► Follow us on Threads: www.threads.net/@gate.smashers
--------------------------------------------------------------------------------------------------------------------------------------
►For Any Query, Suggestion or notes contribution:
Email us at: gatesmashers2018@gmail.com
#AVLTreeInsertion#Rotation#DataStructure

Пікірлер: 513
@AshishSharma-zp9nw
@AshishSharma-zp9nw 2 жыл бұрын
I am preparing for my advanced data structure exam that is going to happen tomorrow and I feel like I have already learnt enough to get at least 80% easily. Thank you sir.
@raiusama3998
@raiusama3998 3 жыл бұрын
Why we don't get teachers like you in university. :(
@rishabdon6008
@rishabdon6008 3 жыл бұрын
Thanks for responding
@rajamouryasimhareddy1478
@rajamouryasimhareddy1478 3 жыл бұрын
@Detra Cherchio best of luck for exam😂😂
@souravsamal6864
@souravsamal6864 2 жыл бұрын
becoz there is no reservation on yt
@rajputjayanksingh1265
@rajputjayanksingh1265 2 жыл бұрын
@@souravsamal6864 nailed it bro
@ojasdighe991
@ojasdighe991 2 жыл бұрын
@@himanichalia6190 yes
@paraskumar7264
@paraskumar7264 Жыл бұрын
maan gaya bhai , poore youtube mei mujhe aisa samjhane vala nhi mila. ek baar meu clear hojara, notes padh ke ratne se accha 10 min ki video itna time bacha rahi hai mera. thankyou broda.
@botpolice012
@botpolice012 3 жыл бұрын
I don't have words to express my gratitude and respect to you, sir.
@pujaahire8922
@pujaahire8922 Жыл бұрын
Aapke jaise teachers ki help se hi hum exam clear kr paate hain nhi toh clg ke tachers aa jaate hain muh uthaje
@suchetabhatia4473
@suchetabhatia4473 3 жыл бұрын
Thanku so much sir.. No words for your efforts.. Ese lgta ki wahe guru ne aapko mujh jaise IT me nalayak bachho k liy hi special you tube pr bheja h..😍
@gautamdwivedishayarikhazan5428
@gautamdwivedishayarikhazan5428 2 жыл бұрын
University m international teacher nhi milte ... Respect to you 😊 bro by ❤️
@RahulGupta-vw7mv
@RahulGupta-vw7mv 2 ай бұрын
Sir you are not a teacher you a god of education (ap bahut acha padhata ho💚💜💚💛💜💙💛)
@kmishy
@kmishy 2 жыл бұрын
Learned a lot. part of 1st month salary as Guru dakshina
@GateSmashers
@GateSmashers 2 жыл бұрын
Thank you dear
@raviparmar8023
@raviparmar8023 9 ай бұрын
Literally u are a god for IT students!!
@alishachhabra7995
@alishachhabra7995 3 жыл бұрын
He always came up with superb content. Each and every point is understood.
@iamsharjeelshahzad
@iamsharjeelshahzad 3 жыл бұрын
Lots of love, respect and prayers from Pakistan 😍
@tarunmudhiraj786
@tarunmudhiraj786 2 жыл бұрын
Within 3hours I have a exam Thanks🙏 For Helping Iam clear About Construction ❤️
@awwsticky6107
@awwsticky6107 Жыл бұрын
Same situation broo
@parmeetsingh9766
@parmeetsingh9766 3 жыл бұрын
you are very important for us sirrrrr!! Thank you
@bhavana8741
@bhavana8741 2 жыл бұрын
Sir i can't listen this type of explanation ever sir u r the best God will provide everything for u sir and keep smile always ....I have exam tomorrow wish me good luck
@ruturajkadam5164
@ruturajkadam5164 Жыл бұрын
this man literally has video on every topic ......absolute legend
@_AakashReddyDeshmukh
@_AakashReddyDeshmukh 2 жыл бұрын
Huge respect to you sir..For your neat and clear explanation and for your patience...
@virendrarao827
@virendrarao827 7 ай бұрын
1 Hour Concept just Give us in 8 minutes 🥳 hats off you Sir 💗💗💝💝💝
@iqramirza2947
@iqramirza2947 3 ай бұрын
Immense respect to your sir for explaining the topic. Teachers like you are rare to find. Huge respect 😇🙏🏻
@HritikGohil
@HritikGohil Жыл бұрын
I need teachers like you!!!!!!!!!!!! I love your teaching sir ❤️
@abdullahjabbar5750
@abdullahjabbar5750 3 жыл бұрын
Superb sir after watching many videos i listen to ur video .u explained in such a easy way . U hve cleard all my doubts regarding this rotations .thnk u soo much sir
@AnkitKumar-ef8pk
@AnkitKumar-ef8pk 4 жыл бұрын
your teaching style is very good sir .. please i will request to you upload all video DATA STRUCTURE.
@SurajRaj-dz6ye
@SurajRaj-dz6ye 4 жыл бұрын
Thanks a lot Sir !! I was actually going to leave the topic but yr explanation made everything clear 😃 🙏☺️☺️💥💥
@kashmirking2446
@kashmirking2446 8 ай бұрын
Tomorrow is my exam😭😭
@mayurkulkarni345
@mayurkulkarni345 4 ай бұрын
Same here
@musiccopyright
@musiccopyright 3 ай бұрын
Today is mine 😂
@user-hy2ph8cp9u
@user-hy2ph8cp9u 3 ай бұрын
@@musiccopyrightmine at 2;30 today
@SagarPatel-je9ql
@SagarPatel-je9ql 3 ай бұрын
Tomorrow mine day😂😂
@programmer5467
@programmer5467 3 ай бұрын
Kaisa Gaya exams? Kitne marks aaye?
@sajansekhu8785
@sajansekhu8785 4 жыл бұрын
Sir aapki tarif kase kru...i have no words....Bss itna kehna chaugii ki....aap concept ko crystal clr krr dete h.....🙏🙏.....God bless u forever..... Really U r the diamond sir jii💎💎💎💎💎
@rajvipandya5473
@rajvipandya5473 2 жыл бұрын
Precisely explained each factor...amazing sir..!
@centrophorous4353
@centrophorous4353 3 жыл бұрын
Thank you so much for clearing my concepts! 🙏🏻
@Hexzit
@Hexzit Жыл бұрын
Thanks sir... right now it's 2:30 am and I have my DSA exam this morning, AVL ka concept clear hogaya...thank you
@RajeshSharma-pm7hw
@RajeshSharma-pm7hw 8 күн бұрын
Sir you've been a saviour !! Kudos to all of your efforts ! #greatful.❤
@himanshurana5880
@himanshurana5880 2 жыл бұрын
sir aapne itna achee se samjhaya ki data structure feels like child's play
@kathakalinaskar8605
@kathakalinaskar8605 Жыл бұрын
Last Minute Saviour! Thank You so much, Sir!!!
@ee2l473
@ee2l473 3 жыл бұрын
Awesome sir ....Kya samjhate ho👌👌😎 akdm easy lgne lgta h hard topic b 😁.... Thank u sir ...Keep teaching....It helps us a lot☺️🤗
@himanshurana5880
@himanshurana5880 2 жыл бұрын
sir ko class 10 to 12 ko bhi badhana chahiye....phir sir ki boli lage gi unacademy, byju, etc....ke bhich..😃😃
@amankumarsingh4924
@amankumarsingh4924 Жыл бұрын
Bahut hi ache se samjhaya sir ek baar me hi samjh gya 😊😊
@afshantabassum1420
@afshantabassum1420 11 ай бұрын
very crystal clear lecture .u made the concept very easy sir. thank you
@zeeshansafdar8608
@zeeshansafdar8608 3 жыл бұрын
Awesome man. You Rock it. Love from Pakistan.
@Srinjoy20
@Srinjoy20 Жыл бұрын
Three years since this wonderful video was uploaded
@alihassan-nm2vj
@alihassan-nm2vj 4 жыл бұрын
Epicly Elaborated. Thanks A lot 😍
@priyasharma7107
@priyasharma7107 3 жыл бұрын
thank you thank you thank you so much tomorrow is my exam and u really does the job u saved my time by explaining it very easily ☺☺
@KK-so8eb
@KK-so8eb 3 жыл бұрын
a satisfying explanation! Thnks for lectures from PAKISTAN!
@vishwabhatt20
@vishwabhatt20 3 жыл бұрын
thank you for saving me in my exams by your beautiful and such an awesome explanation.
@vishwabhatt20
@vishwabhatt20 3 жыл бұрын
Wow! ❤️ I received heart from you Just now... And i just finished watching your another video ❤️❤️❤️
@qasimali-hu3fv
@qasimali-hu3fv 4 жыл бұрын
You are my mentor...........Tomorrow is my exam .....Required your best wishes..
@GateSmashers
@GateSmashers 4 жыл бұрын
All the best
@malaikaak125
@malaikaak125 2 жыл бұрын
Thankyou so much sir Its really helpful love from Pakistan ❤
@abhashkumar2606
@abhashkumar2606 4 жыл бұрын
sir the videos are very help full and the way u tell all this it is really easy to understand and very easy to learn ... u are awesome sir
@Prateek03
@Prateek03 3 жыл бұрын
Simple and effective explanation, Thank u sir
@jagnarjotmann2130
@jagnarjotmann2130 3 жыл бұрын
Lovely explaintion sir. Very helpful to me in exam ❤️
@theennovators
@theennovators Жыл бұрын
Super video, very comprehensive, thanks a lot Sir.
@combatcraz2254
@combatcraz2254 2 жыл бұрын
thanks for the clarification, keep up the good work!!
@shaifaliagarwal1749
@shaifaliagarwal1749 3 жыл бұрын
owsm sir I can't understand this topic since long but after watching this it's become easy for me
@sakshyabhattacharya3326
@sakshyabhattacharya3326 Жыл бұрын
thank you very much sir for this lecture
@nomanziad3314
@nomanziad3314 4 жыл бұрын
NYC explanation and new subscriber from PK :)
@nasimabithi4343
@nasimabithi4343 3 жыл бұрын
Crush 😍 love to learn from the teacher.. 🤐
@ytg6663
@ytg6663 3 жыл бұрын
@GATE AspiranT Lmao. Simp. Goto your basement!
@nikeshmali8506
@nikeshmali8506 2 жыл бұрын
awsome, thanks, this was easiest than others
@studytech5929
@studytech5929 2 жыл бұрын
You are most power full concept provide 10 day l think but only 10 min vedio are clear my concept thank sir love you
@anonymousfan9703
@anonymousfan9703 2 жыл бұрын
Now I becomes easy After u tech Nice teaching skills 👌 👍 👏 😎 Thanks for ur help
@bhavinambaliya5021
@bhavinambaliya5021 3 жыл бұрын
Amazing! Great helpful your video!
@muntahariaz4332
@muntahariaz4332 2 жыл бұрын
Thank you so much declaring my all concept of data structure, software engineering and other subjects ❤️😍🥰👌👍god bless you always 🌟💫
@GateSmashers
@GateSmashers 2 жыл бұрын
Thank you so much
@muntahariaz4332
@muntahariaz4332 2 жыл бұрын
@@GateSmashers I can't blv you reply me 🌟😍😍😍😍✨it's my good luck 🤞 once again thanks.😍🌟🥰🥰🥰
@ShashankKoshta
@ShashankKoshta 2 жыл бұрын
@@muntahariaz4332 kuch jyada hi bada bana diya inko😂
@muntahariaz4332
@muntahariaz4332 2 жыл бұрын
@@ShashankKoshta q tmhy jln ho rahe ha 😂
@ShashankKoshta
@ShashankKoshta 2 жыл бұрын
@@muntahariaz4332 ni bs tumhari baat pr hasi aa rahi hai😂😅
@kritivashistha514
@kritivashistha514 3 жыл бұрын
Ur way of teaching is fab. 👍👍👍
@tsiva216
@tsiva216 3 жыл бұрын
Such an wonderful explanation 👏👌
@inspiremeandinspireyou943
@inspiremeandinspireyou943 3 жыл бұрын
UR VIDEOS ARE VERY HELPFUL ,,,, THANK U VARUN
@syedhassaan3470
@syedhassaan3470 Жыл бұрын
super easy method...Thanks Sir
@barsarani4136
@barsarani4136 3 жыл бұрын
Thank you so much sir u clear my concept 🙏
@Malik-Muhammad-Ali
@Malik-Muhammad-Ali Жыл бұрын
Sir you are better than my university professors. Love from Pakistan ❤️
@ytpremium9454
@ytpremium9454 3 жыл бұрын
Sir please upload more on Data Structures 🙏🏻
@sivasankar4900
@sivasankar4900 2 жыл бұрын
Thank u sir I loved u r teaching very much, thanks a lot
@nerd.coder_Abir
@nerd.coder_Abir 2 ай бұрын
You are a perfect teacher . Love from Bangladesh
@ahsanhussain4470
@ahsanhussain4470 3 жыл бұрын
Your teaching style is good 👍 thanks 😊
@rounak3239
@rounak3239 4 жыл бұрын
Gurujee shandar jabardast zindabad
@nikhilagrawal9217
@nikhilagrawal9217 11 ай бұрын
Thanks sir for this video.
@ashimughal547
@ashimughal547 11 ай бұрын
You're a great teacher ❤
@memeworld6131
@memeworld6131 5 ай бұрын
You are the best teacher for dsa thank you so much for being here ❤
@user-rt2dt1ik6b
@user-rt2dt1ik6b Жыл бұрын
Mind-blowing explanation...
@whyDude123
@whyDude123 Жыл бұрын
Thankyou sir for the amazing lecture. Tomorrow is My DSA exams.
@mimran6341
@mimran6341 3 жыл бұрын
Sir your teaching method good thank you so much sir
@jamshaidmirxa7373
@jamshaidmirxa7373 2 жыл бұрын
Bhai kamal ho gya ap ky concepts sy samj a ge
@jamshaidmalik463
@jamshaidmalik463 3 жыл бұрын
wow bhai bht achy and simple way mein samjhaya apne keep it up bro.
@sundusshah9467
@sundusshah9467 2 жыл бұрын
Assalam alikum sir!thanks alot for clearing this topic.You are best.
@user-vd1ed6nz2q
@user-vd1ed6nz2q 3 ай бұрын
Dhanyavad 🙏❤️‍🔥
@Zari_A26
@Zari_A26 2 ай бұрын
Great 👍👍
@alorikabanerjee7584
@alorikabanerjee7584 5 ай бұрын
I can't thank you enough sir❤. I've DSA theory tomorrow morning..thank you sir
@sagardas9060
@sagardas9060 Жыл бұрын
You know what every students of my class watches your video before one day of exam, so this message is fore them-"Vai kal sob parbi to??"🥲
@nainaslifeunscripted
@nainaslifeunscripted 2 жыл бұрын
You really teach so good sir 💕
@kautukraj
@kautukraj 3 жыл бұрын
Very helpful, thank you.
@explorerars4208
@explorerars4208 6 ай бұрын
Great sir Thank you very much
@priyankachaudhury9834
@priyankachaudhury9834 7 ай бұрын
Waoooo great teaching style 😎 thank you verymuch sir❤😊❤❤❤❤
@acoustictushar8584
@acoustictushar8584 6 ай бұрын
thank you so much sir itna easy way me sara concept clear karne me literally you are a great techer😇😇😇💯💯💯💯
@nikhilverma8496
@nikhilverma8496 3 жыл бұрын
Aap to the point correct awesome padhate ho 👍
@tejasdhanagare3698
@tejasdhanagare3698 3 жыл бұрын
gjb explain krte ho sirrji aap toh.........mja agyaa
@srijandas2570
@srijandas2570 5 ай бұрын
Verry helpful sir, thanks a lot
@aratigavade7962
@aratigavade7962 3 жыл бұрын
hat's off to you sir . please cover entire data structure and Algorithm please .
@PankajYadav-nz4gn
@PankajYadav-nz4gn 2 жыл бұрын
Sir, Thank you so much for explaining this. Sir I am currently enrolled in CDAC Hyderabad, I applied your method and tried to solve the question given by my teacher but got stucked in the insertion of element 22, so can you please just take out some time and explain this question : Insertions are in the sequence 40,20,10,25,30,22,50.
@alicecrosby5325
@alicecrosby5325 2 жыл бұрын
Nice content sir. Thank you🤗
@jaikara4236
@jaikara4236 2 жыл бұрын
Thanks man it was so easy and i was fussing about it like an idoit thank you so much for clearing the concept
@NORMAL_CODING
@NORMAL_CODING 7 ай бұрын
Tq so much sir your video in my help full 👍
@youtubeaccount7372
@youtubeaccount7372 2 жыл бұрын
Perfect ...WELL eXPLAINED
@shivambilaiya1114
@shivambilaiya1114 3 жыл бұрын
Thank you Sir 🔥🔥🔥
@user-lt3zf7hh7l
@user-lt3zf7hh7l 6 ай бұрын
Super teaching sir ❤
@mohawk-tu8505
@mohawk-tu8505 4 жыл бұрын
Thanks a lot Sir ❤️
@theabhish1
@theabhish1 2 жыл бұрын
I like your way of saying thankyou.
@nipunsaini4601
@nipunsaini4601 3 жыл бұрын
Perfectly explained
@anushkatripathi9376
@anushkatripathi9376 7 ай бұрын
Best teacher ever 😊
Lec-60: AVL Tree Creation in Data Structure | All Imp Points
12:53
Gate Smashers
Рет қаралды 537 М.
Smart Sigma Kid #funny #sigma #comedy
00:40
CRAZY GREAPA
Рет қаралды 32 МЛН
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 206 МЛН
AVL Trees & Rotations (Self-Balancing Binary Search Trees)
20:38
Back To Back SWE
Рет қаралды 333 М.
Hermitcraft 10: Episode 24 - MY BANNED SHOP
20:43
Mumbo Jumbo
Рет қаралды 251 М.
10.1 AVL Tree - Insertion and Rotations
43:08
Abdul Bari
Рет қаралды 1,1 МЛН
I Trapped OG Youtubers in an Escape Room!
24:29
Dangthatsalongname
Рет қаралды 139 М.