Тёмный

Preorder, Inorder and Postorder in 5 minute | Tree Traversal | Easiest and Shortest Trick 

Gate Smashers
Подписаться 1,9 млн
Просмотров 1,6 млн
50% 1

👉Subscribe to our new channel: / @varunainashots
Pre-order traversal while duplicating nodes and values can make a complete duplicate of a binary tree. It can also be used to make a prefix expression (Polish notation) from expression trees: traverse the expression tree pre-orderly.
In-order traversal is very commonly used in binary search trees because it returns values from the underlying set in order, according to the comparator that set up the binary search tree (hence the name).
Post-order traversal while deleting or freeing nodes and values can delete or free an entire binary tree. It can also generate a postfix representation of a binary tree
0:00 - Introduction
1:35 - Complete the given tree
2:23 - Basic technique
2:54 - Solution with example
►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 RU-vid: / 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
#Preorder#Inorder#Postorder#DataStructure

Опубликовано:

 

9 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2,4 тыс.   
@sailendraku.biswal3841
@sailendraku.biswal3841 Год назад
5 mins is much better than 4hrs class lecture 😌
@brahamjeet602
@brahamjeet602 Год назад
us bhai us
@yaswanthyassu475
@yaswanthyassu475 Год назад
😂 fact
@LokeshBhagadkar
@LokeshBhagadkar Год назад
1+
@itsmerioofficial
@itsmerioofficial Год назад
Agreed👍👍
@sohailkhanzbr1013
@sohailkhanzbr1013 Год назад
Really
@Mr12n2k22
@Mr12n2k22 11 месяцев назад
Legend is getting ready for tomorrow exam 😂 .. Right!?
@pranitadhangle4996
@pranitadhangle4996 8 месяцев назад
Yes 😭
@Shorts_Creater360
@Shorts_Creater360 7 месяцев назад
Yes brdr 😂😂😂😅
@doyouknow3422
@doyouknow3422 7 месяцев назад
Yes bro 😢
@chandraprakashbarole3953
@chandraprakashbarole3953 7 месяцев назад
And ultra legends are ready for today's exam 😂😂
@renots2323
@renots2323 7 месяцев назад
Y so related😂
@ayushraut_07
@ayushraut_07 3 месяца назад
Bro Dropped The Coldest Explanation Without Giving us Blanket 🥶
@abhijeetwaghmare9733
@abhijeetwaghmare9733 3 месяца назад
🗿
@akshitrajputhere
@akshitrajputhere 3 месяца назад
रियल
@sajidmomin9206
@sajidmomin9206 Год назад
I am literally laughing , i am just thinking i have just wasted my mind and hours in classroom for understanding this concept which can be easily done through this logic 🤣 thanks a lot sir for this teaching 🌸❤️
@mohdsiddiq5752
@mohdsiddiq5752 2 года назад
this guy deserves oscar for explaining this clearly
@renots2323
@renots2323 7 месяцев назад
Oscar is for acting not teaching LoL
@vedbhensdadia
@vedbhensdadia 6 месяцев назад
100% bhai , sir ki ye ek video ne mera half chapter complete ✅ kr diya. Love you much sir.🙏🙏
@fathimahasnak3816
@fathimahasnak3816 3 года назад
If there's one video on the internet that saved my life, it is this! Thankyou.
@vareable646
@vareable646 3 года назад
Yes bro same
@namomishra1143
@namomishra1143 3 года назад
Same.. It's 1 AM right now and tomorrow I have exam 😂
@Knowledgeprecious
@Knowledgeprecious Год назад
Never thought that tree traversal can be this much easy.... Amazing I wish I had known this technique earlier!!! But it's never too late
@vedanshsingh8100
@vedanshsingh8100 6 месяцев назад
i freaking love you man. What a charismatic teaching style. Got it before the video even ended. LEGEND
@sanatnaik7943
@sanatnaik7943 Год назад
I spent 1 hour in class trying to understand this but couldn't even solve 1 question. And now after watching this video for 5 minutes, I solved 5 examples in 10 minutes. I'm truly grateful to you for this video, sir. You are the best. 🙇🏻‍♂
@ashvinshetty5582
@ashvinshetty5582 3 года назад
Give this Sir an Oscar for this trick Most efficient way to get inorder,preorder,postorder traversal👍👍
@RepublicDay2023
@RepublicDay2023 2 года назад
Yes Agreed buddy!!!!
@monkeydluffy4400
@monkeydluffy4400 Год назад
🏅🏆
@swag__spreader__5653
@swag__spreader__5653 3 месяца назад
Bro oscar is given to acting not for teaching 😂
@user-me9xl6wc5w
@user-me9xl6wc5w 4 месяца назад
aapke charan kaha hai sarkaar .......................... i just have ONLY ONE QUESTION WHY THIS GUY IS STILL UNDERRATED 🤔
@sanchibansode
@sanchibansode 7 месяцев назад
None of the youtuber cleared this topic as of you This technique needs an Oscar❤ Much needed before one day of examination Thanks alot
@rashikale3791
@rashikale3791 3 года назад
i am so grateful for this , it's wonderul and 100% efficient in any kind of question. thankyou so much sir !
@panditrahul1155
@panditrahul1155 4 месяца назад
i love you
@panditrahul1155
@panditrahul1155 4 месяца назад
plz reply me
@vaibhavsood5713
@vaibhavsood5713 2 года назад
Amazing method! Couldn't find an easier way of doing this! Btw this question is worth 10 marks in our university exam! 😂 And it's doable in 2 minutes using Sir's trick! It's amazing how his video is still helping people after 3 years! A huge round of applause for this amazing teacher 👏👏👏 He helped me with my DBMS subject as well! This comment is to tell him that not just GATE aspirants but college/university students watch him too! I guess majority might be us college students🤣 even though the channel name is Gate Smashers. Once again, a very great and helpful video😇
@GateSmashers
@GateSmashers 2 года назад
Thank you so much Vaibhav..lots of blessings
@vaibhavsood5713
@vaibhavsood5713 2 года назад
@@GateSmashers Thank you, Sir! ❤ Me and my friends watch you a lot! We're doing BCA (2nd Sem exams getting over and looking forward to 3rd Semester) If you'd like to give any useful suggestions to us, It will be amazing! 😊
@GurpreetSingh-ot3pw
@GurpreetSingh-ot3pw 2 года назад
thnku vaibhav and sir for your guidance,i am really thankful ❤
@vaibhavsood5713
@vaibhavsood5713 2 года назад
@@GurpreetSingh-ot3pw Arre, Maine to kya hi kiya🤣🤣
@animesh_6969
@animesh_6969 2 года назад
@@vaibhavsood5713 hm u r laughing to much
@Desmond113
@Desmond113 6 месяцев назад
love you bro, it was so hard to me to understand this concept, but after watching this video my all doubt's are clear , i cant even express my felling, Thanks
@thisisashi2498
@thisisashi2498 4 месяца назад
I watched this trick 30 mins before exam and got it right! Can't say enough thank you🤗🥺
@jainamchheda
@jainamchheda 2 года назад
THIS IS THE BEST VIDEO TO LEARN TREE TRAVERSALS. I WAS STRUGGLING A LOT IN IT INITIALLY. BUT, AFTER WATCHING SIR'S EXPLANATION I LEARNED IT EVEN BEFORE 6:46 MINUTES!!!!🔥🔥🔥
@monkeydluffy4400
@monkeydluffy4400 Год назад
True aasani se sikhaya sir ne 🙏
@awwnuraaagggg
@awwnuraaagggg 2 года назад
This was so good. I will never forget this concept ever again!!!
@SlayMx_Sg
@SlayMx_Sg Месяц назад
Maja aagya sir .... Aapne mera 2nd semester aasaan bana diya ....learning microprocessors as well from this channel ❤❤
@GNESHRWT
@GNESHRWT 5 месяцев назад
I'm truly grateful for your clear explanations! Your videos have been incredibly helpful in breaking down complex concepts. Thank you for sharing your knowledge and making learning so enjoyable.
@sanatahir4658
@sanatahir4658 2 года назад
i have no words to explain how good you are.... today my final exam at 3:00 pm. and I am preparing just 2 hours before exam ,,, you are AWEESOME TEACHER ... Sir huge respect for you from Pakistan .....
@apadogwaenchana9036
@apadogwaenchana9036 3 года назад
Now that is a technique I've never seen before, thank you! It's very helpful.
@HamzaKhan-ep9qc
@HamzaKhan-ep9qc 6 месяцев назад
sir this trick is soo genius awesome, my teacher spent 1 hr. explaining this yet couldn't convey the message properly. its the second time i am watching this video and i am realizing that this is easier than i thought. thankyou soo much sir :)
@yugandharajagtap5380
@yugandharajagtap5380 6 месяцев назад
Legend is learning this in examination hall !
@rishi71095
@rishi71095 Год назад
Wow, this 7 min video just knocked it out of the park for me! Best video for traversals made ever! Thank you for this video.
@arshidwani6876
@arshidwani6876 5 лет назад
Ur work is appreciable..U deserve much love and respect...Sir I request ur good self that when you will upload the videos of Algorithms and TOC....plz do reply sir...keep up ur hardwork...love from Kashmir
@anwayaar
@anwayaar Год назад
Thank you so much, sir. This technique helps a lot.
@NehaSharma-lr8ej
@NehaSharma-lr8ej 3 года назад
this technique is really good and the way you deliver concept to us is just... really speechless. U deserve huge huge respect. commendable
@GeekyGrape
@GeekyGrape 3 года назад
wow, super helpful for us visual learners! really appreciate the help, thanks so much!
@MuhammadRaqiburRahman
@MuhammadRaqiburRahman Год назад
I have seen the video before 20 minutes of my exam and got common and secure 2 MCQ from this!!! Again Thanks a lot!
@lordsnow-vg6ek
@lordsnow-vg6ek 7 месяцев назад
This legend is born to make life easy
@schopenhauerr
@schopenhauerr 2 года назад
Thank you so much for explaining our 2 hours long lecture in just 6 minutes very clearly.
@snehalbamble7694
@snehalbamble7694 4 года назад
Great trick!!! never thought it could be done in such a simple way when I was student,😉 I wish I had got this at that time. 😄
@nidhikurra7844
@nidhikurra7844 2 года назад
🤣🤣
@OptiMusPrime45385
@OptiMusPrime45385 2 года назад
@@nidhikurra7844 hlo
@user-kl6dp6oe7d
@user-kl6dp6oe7d Месяц назад
I usually don't comment on education channel but this explanation was amazing,Very simple and clear.
@harshitsharma1905
@harshitsharma1905 Год назад
Thank you so much sir May God bless you with millions of subscribers.🥰
@muhammadjawadaman4442
@muhammadjawadaman4442 Год назад
Respect you sir soo much. You should be awarded for the best teacher.
@LokeshBhagadkar
@LokeshBhagadkar Год назад
🤓
@sandeepmandrawadkar9133
@sandeepmandrawadkar9133 5 лет назад
Simply superb technique! Hats off to you for simplifying to the simplest possible level 👋👋👋👍👍👍👌👌👌
@vinayak186f3
@vinayak186f3 3 года назад
EULER'S TRAVERSAL KA NAAM SUNA HAI 😂
@user-do1ro5eq6w
@user-do1ro5eq6w 5 месяцев назад
what an excellent teaching after seeing your classes i just search for you in every concept
@user-ic1zf6on9j
@user-ic1zf6on9j Год назад
I wish we had you as a teacher in our college , thank you so much sir 🙏
@praniltamgadge595
@praniltamgadge595 Год назад
best technique ever I understood at one time thanks sir .
@Prem.s51
@Prem.s51 Год назад
Amazing man... It really helped me in my ISC board computer
@MAHESHACADEMY
@MAHESHACADEMY Год назад
10 वर्ष हो गए बीटेक में इसे पढ़े हुए, आज जाके ये एकदम रापचिक, शानदार तरीक़े से समझ आया 🤠😍🙏 दिल से शुक्रिया सर जी आपका 🙏🌱🎋
@Blackbenstudios
@Blackbenstudios 10 месяцев назад
The best lecture video ever made. You deserve an award
@RishiRaj-lz5wk
@RishiRaj-lz5wk 3 года назад
Sir u r a genius 💯😎😎!! Nvr thought tht this can b done in sch a simple way...my exms r near & m preparing fr it..grt tym 2 wtch this video 🤩..Hatsoff 2 u sir!!
@Ayush60722
@Ayush60722 6 месяцев назад
Me watching just before 15 min of exam😅
@AnandRaj-ve7nf
@AnandRaj-ve7nf 4 месяца назад
Such a great approach, SIR ,it really saves time while written all 3 traversal.❤
@macaaamala
@macaaamala 10 месяцев назад
YOU ARE THE BEST LITERALLY THANK U SM COULDNT GET BETTER EXPLANATION THAN THIS U ROCK!
@user_abhigupta
@user_abhigupta 2 года назад
Just after 1 hr my 3rd semester BCA examination will start and I'm so confident after watching this amazing way of finding order Thank you so much sir 💖
@monkeydluffy4400
@monkeydluffy4400 Год назад
Is this there in 3rd sem also
@monkeydluffy4400
@monkeydluffy4400 Год назад
Iam in 2nd sem bca i have it now also 😔🥲
@akshaysav5547
@akshaysav5547 3 года назад
Thank you so much for such an amazing technique sir.... You are doing an incredible work for computer science students God bless you....
@tulas11
@tulas11 Год назад
The best trick ever came across. A big thank you Varun!
@nirjalashrestha1685
@nirjalashrestha1685 9 месяцев назад
thankyou so much..This is the easiest way to learn this traversal techniques
@Cristiano_Ronaldo2023
@Cristiano_Ronaldo2023 Год назад
❤️❤️ Sir you deserve award for clearing our doubts ❤️❤️
@iqrasadaf9580
@iqrasadaf9580 3 года назад
Amazing trick...👏❤ thank you so much sir
@Rahul-rw7mp
@Rahul-rw7mp Год назад
Best solution i have seen for preorder,inorder and post order!
@commanderyadav564
@commanderyadav564 Месяц назад
Ohh ! Thank you so much sir. I was stuck at this concept for quite a while, but your easy and simple explanation cleared all my doubts. Thank you once again !
@nickbaib1839
@nickbaib1839 5 лет назад
OMG thats the easiest and shortest way really! Thank you so much! Continue the good job! Greetings from Greece!
@avanideshmukh2650
@avanideshmukh2650 5 лет назад
awesom trick, after seeing this trick,we will never forget preorder....thanku so much sir,for ur guidance and hard work
@kishorebardhan3016
@kishorebardhan3016 3 года назад
Mera ek problem solve krke dhogi kya Yahi pre order in order ka
@janhavipujare
@janhavipujare Год назад
This was soo easy to understand Now I feel confident enough with tree traversing
@laptoptoshiba520
@laptoptoshiba520 8 месяцев назад
INSANE!! I watched several videos on traversal of trees,this is the best one!
@SEEMAVERMA-co6wp
@SEEMAVERMA-co6wp 5 лет назад
Superb!!! I had never understand that topic entire my btech...now i got this... thanks
@GateSmashers
@GateSmashers 5 лет назад
Thank You for your love and support. Bless you
@preyas2198
@preyas2198 3 года назад
Exactly same 😂
@shaikmohammedadnan5285
@shaikmohammedadnan5285 7 месяцев назад
THE BEST Traversal video on RU-vid !! 🫡
@gunasanimounika6784
@gunasanimounika6784 5 лет назад
Tq u sir..... Please add more videos on data structures.. It will be helpful... U way of teaching was good... Whenever I listen to your video it is easy to understand
@ghousekhan455
@ghousekhan455 Год назад
U made my worry ease... Heartiest thanks to u.
@khushboo7396
@khushboo7396 3 года назад
Thank u sooo much sir u made me realise that this concept is very easy and the way you taught is quite wonderful keep up the good work,..... ☺
@GateSmashers
@GateSmashers 3 года назад
Thanks and welcome
@mrunalmane3047
@mrunalmane3047 4 года назад
Thank you very much,sir. Finally I understood this concept by you. I watched many videos before but I learned here quickly and without any confusion.
@GateSmashers
@GateSmashers 4 года назад
Thank you mrunal Mane for such a lovely feedback..
@KunalGaurav-zb4fy
@KunalGaurav-zb4fy Год назад
love you sir...ek bar me hi smjh aa gya ...iske phle bht sari videos dekhi thy but aapka ek video batty jala diya 😅❤️❤️❤️
@maryamsheikh4232
@maryamsheikh4232 Год назад
AP bht acha smjhaty ko Sachi sabhi lectures AP k leti hon itni achi tayyari hoti hai Mai Pakistan Sy hon hmary teachers tk AP ky lecture dakhty hai ...❤❤❤ .....har chez itni clearly define krty hai bht help hoti hai
@wondrous_autumn
@wondrous_autumn Год назад
Thankkkk uuu soon muchhh...❣❣❣ It's my exam tomorrow and I just confused but your 5 mins made it very clear..🙌
@sachinmudgal14
@sachinmudgal14 Год назад
Galgotias??👽
@mohammedyounus8264
@mohammedyounus8264 2 года назад
Amazing 🤩
@Liveinwinters
@Liveinwinters 6 месяцев назад
What a trick bro , NO confusion...!!🥰
@ranabindumondal9301
@ranabindumondal9301 Год назад
THANKS FAR BETTER THEN COLLEGE LECTURE
@sambedansahooridul1237
@sambedansahooridul1237 5 месяцев назад
legend see before the 1day of exam..................
@lovekushsinghgurjar4875
@lovekushsinghgurjar4875 Месяц назад
me before 3 hours of exam
@user-ye3lg2zs1o
@user-ye3lg2zs1o Месяц назад
​@@lovekushsinghgurjar4875 I am watching before 1 minutes 😅
@namomishra1143
@namomishra1143 3 года назад
Thank you very much sir.. Kal mera semester exam h Thanks a million
@wizard.01
@wizard.01 10 месяцев назад
Saved my precious time! Thank you sir
@sarthakkumar8679
@sarthakkumar8679 3 года назад
how can someone dislike this video 2 minute of silence for them
@ashishshetty3512
@ashishshetty3512 3 года назад
I guess they got years in their eyes and misclicked it
@TechnoGaming_141
@TechnoGaming_141 2 года назад
its bot dislikes it is youtube's algorithm to have a balance between likes and dislikes
@teetanrobotics5363
@teetanrobotics5363 5 лет назад
Khatrnaak technique hai
@user-me9xl6wc5w
@user-me9xl6wc5w 6 месяцев назад
bro proved that smart work is better than hard work
@mrdeadpool1238
@mrdeadpool1238 8 месяцев назад
Sirrrrr this is the best method i watched other videos but didnt understand but you saved the dayyyyyyyy
@pusaikumarm9165
@pusaikumarm9165 2 года назад
Literally today 20/04/22 at 9:30am I have my midterm exam ...I saw this content at early morning 5 am ... it was very helpfull ❣️... thank you much sir🙏
@GateSmashers
@GateSmashers 2 года назад
All the best
@pusaikumarm9165
@pusaikumarm9165 2 года назад
Thank you sir 🙏....with regards your virtual student
@Sudeshsorout
@Sudeshsorout 5 лет назад
Kis kis layer per kon kon se protocol use hote h g ... Ye video bhi Bana deejiye sir g .... Please please
@vanshikayadav9571
@vanshikayadav9571 Год назад
Whooo kya samjhya hai apne matlab jo mujhe abhi kat samajh nhi aya vo apne sirf 5 min me samajh diya sir you are great
@codingball
@codingball 2 месяца назад
the way you explained it that's amazing
@CreativityandfunwithAtharva07
@CreativityandfunwithAtharva07 6 месяцев назад
Welcome polytechnic boys 😅 All the best for tomorrow's exam 🎉
@tuzenlaong1846
@tuzenlaong1846 3 года назад
Not sure if its trick or method but you made it really easier 😂
@adibahaque9202
@adibahaque9202 3 года назад
Its actually a trick. Not the method. 🤔
@ballersarena6029
@ballersarena6029 Год назад
This guy is a Hero!!
@Everingo
@Everingo 7 месяцев назад
Before 1 hour of exam 😂😂😂😂
@VivekKrDev
@VivekKrDev 2 месяца назад
Me😂
@uttampanigrahi26679
@uttampanigrahi26679 2 месяца назад
😅​@@VivekKrDev
@Explore_with_ateeq
@Explore_with_ateeq Месяц назад
Same bro subha paper h😂
@yashbhandari3105
@yashbhandari3105 6 месяцев назад
Best video abhi tak ka ❤🎉🎉
@user-rz3pi2er4r
@user-rz3pi2er4r 7 месяцев назад
Sir you really deserve a award for explaining this topic in an easy way❤
@toieyat1955
@toieyat1955 7 месяцев назад
You are a genius! Well explained!☺
@207bhuvankumar9
@207bhuvankumar9 5 месяцев назад
one of the best understanding platform , thanks sir
@gamershouse6014
@gamershouse6014 2 месяца назад
really great explanation. Made the tough one very simple. Grateful to you.
@vertigo_57_42
@vertigo_57_42 Год назад
Thank you for this technique it makes ordering of nodes really simple
@mallelaupendrareddy9561
@mallelaupendrareddy9561 9 месяцев назад
WHAT AN AMAZING TRICK BRO .. THANK YOU
@jitendraparmar1153
@jitendraparmar1153 Год назад
thank you sir aapne muze yeh topic sirf 5 min me samza diay lekin college main muze isse sumuzne main bohot time laga tha. your concept is so easy and simple. thank you so much sir.
@lasyalalu316
@lasyalalu316 Год назад
This man has my whole heart ❤️
@allinone8363
@allinone8363 7 месяцев назад
Sur aap bhut hi easy tareeke se critical problems ko bhi easy way m samjhadete ho 😊 you are the God for the students who has not good faculty in our colleges😊
@padmalochany5226
@padmalochany5226 5 месяцев назад
Excellent...thank you so much for teaching this
@sanket3007
@sanket3007 Год назад
Best Teacher in my whole life of Computer Science Engineering
@krishnapreetham8325
@krishnapreetham8325 Год назад
Sir,you deserve Massive respect 🙏
@mddelowarhosen5405
@mddelowarhosen5405 8 месяцев назад
Mind blowing! Lots of love from Bangladesh.
Далее
아이들은 못말려 〰️ With #짱구
00:11
Просмотров 478 тыс.
Cabeças erguidas, galera! 🙌 Vamos pegá-la!
00:10