Preorder, Inorder and Postorder in 5 minute | Tree Traversal | Easiest and Shortest Trick
HTML-код
- Опубликовано: 30 июл 2024
- 👉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 RUclips: / 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
Legend is getting ready for tomorrow exam 😂 .. Right!?
Yes 😭
Yes brdr 😂😂😂😅
Yes bro 😢
And ultra legends are ready for today's exam 😂😂
Y so related😂
5 mins is much better than 4hrs class lecture 😌
us bhai us
😂 fact
1+
Agreed👍👍
Really
Bro Dropped The Coldest Explanation Without Giving us Blanket 🥶
🗿
रियल
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 🌸❤️
this guy deserves oscar for explaining this clearly
Oscar is for acting not teaching LoL
100% bhai , sir ki ye ek video ne mera half chapter complete ✅ kr diya.
Love you much sir.🙏🙏
If there's one video on the internet that saved my life, it is this! Thankyou.
Yes bro same
Same..
It's 1 AM right now and tomorrow I have exam 😂
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
aapke charan kaha hai sarkaar .......................... i just have ONLY ONE QUESTION WHY THIS GUY IS STILL UNDERRATED 🤔
Give this Sir an Oscar for this trick
Most efficient way to get inorder,preorder,postorder traversal👍👍
Yes Agreed buddy!!!!
🏅🏆
Bro oscar is given to acting not for teaching 😂
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. 🙇🏻♂
None of the youtuber cleared this topic as of you
This technique needs an Oscar❤
Much needed before one day of examination
Thanks alot
i freaking love you man. What a charismatic teaching style. Got it before the video even ended. LEGEND
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😇
Thank you so much Vaibhav..lots of blessings
@@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! 😊
thnku vaibhav and sir for your guidance,i am really thankful ❤
@@GurpreetSingh-ot3pw Arre, Maine to kya hi kiya🤣🤣
@@vaibhavsood5713 hm u r laughing to much
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!!!!🔥🔥🔥
True aasani se sikhaya sir ne 🙏
I watched this trick 30 mins before exam and got it right! Can't say enough thank you🤗🥺
I always study through books and mostly avoid RUclips lectures but idk how i searched for this and got the simplest technique ever😍
i am so grateful for this , it's wonderul and 100% efficient in any kind of question. thankyou so much sir !
i love you
plz reply me
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 .....
Maja aagya sir .... Aapne mera 2nd semester aasaan bana diya ....learning microprocessors as well from this channel ❤❤
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 :)
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
This was so good. I will never forget this concept ever again!!!
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
I have seen the video before 20 minutes of my exam and got common and secure 2 MCQ from this!!!
Again Thanks a lot!
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 hlo
this technique is really good and the way you deliver concept to us is just... really speechless. U deserve huge huge respect. commendable
legend see before the 1day of exam..................
me before 3 hours of exam
@@lovekushsinghgurjar4875 I am watching before 1 minutes 😅
Me watching just before 15 min of exam😅
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.
Respect you sir soo much. You should be awarded for the best teacher.
🤓
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.
This legend is born to make life easy
Now that is a technique I've never seen before, thank you! It's very helpful.
wow, super helpful for us visual learners! really appreciate the help, thanks so much!
Thank you so much sir
May God bless you with millions of subscribers.🥰
Legend is learning this in examination hall !
Simply superb technique! Hats off to you for simplifying to the simplest possible level 👋👋👋👍👍👍👌👌👌
EULER'S TRAVERSAL KA NAAM SUNA HAI 😂
Thank you so much for explaining our 2 hours long lecture in just 6 minutes very clearly.
Thank you so much, sir. This technique helps a lot.
best technique ever
I understood at one time
thanks sir .
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 💖
Is this there in 3rd sem also
Iam in 2nd sem bca i have it now also 😔🥲
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!!
what an excellent teaching after seeing your classes i just search for you in every concept
I usually don't comment on education channel but this explanation was amazing,Very simple and clear.
I wish we had you as a teacher in our college , thank you so much sir 🙏
Thank you so much for such an amazing technique sir.... You are doing an incredible work for computer science students
God bless you....
Such a great approach, SIR ,it really saves time while written all 3 traversal.❤
Amazing man... It really helped me in my ISC board computer
Superb!!! I had never understand that topic entire my btech...now i got this... thanks
Thank You for your love and support. Bless you
Exactly same 😂
The best lecture video ever made. You deserve an award
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 !
awesom trick, after seeing this trick,we will never forget preorder....thanku so much sir,for ur guidance and hard work
Mera ek problem solve krke dhogi kya
Yahi pre order in order ka
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
thankyou so much..This is the easiest way to learn this traversal techniques
YOU ARE THE BEST LITERALLY THANK U SM COULDNT GET BETTER EXPLANATION THAN THIS U ROCK!
❤️❤️ Sir you deserve award for clearing our doubts ❤️❤️
Amazing trick...👏❤ thank you so much sir
10 वर्ष हो गए बीटेक में इसे पढ़े हुए, आज जाके ये एकदम रापचिक, शानदार तरीक़े से समझ आया 🤠😍🙏 दिल से शुक्रिया सर जी आपका 🙏🌱🎋
OMG thats the easiest and shortest way really! Thank you so much! Continue the good job!
Greetings from Greece!
Thankkkk uuu soon muchhh...❣❣❣
It's my exam tomorrow and I just confused but your 5 mins made it very clear..🙌
Galgotias??👽
This was soo easy to understand
Now I feel confident enough with tree traversing
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😊
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,..... ☺
Thanks and welcome
Before 1 hour of exam 😂😂😂😂
Me😂
😅@@VivekKrDev
Same bro subha paper h😂
The best trick ever came across. A big thank you Varun!
INSANE!! I watched several videos on traversal of trees,this is the best one!
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.
Thank you mrunal Mane for such a lovely feedback..
Thank you very much sir..
Kal mera semester exam h
Thanks a million
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
What a trick bro , NO confusion...!!🥰
how can someone dislike this video 2 minute of silence for them
I guess they got years in their eyes and misclicked it
its bot dislikes it is youtube's algorithm to have a balance between likes and dislikes
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🙏
All the best
Thank you sir 🙏....with regards your virtual student
love you sir...ek bar me hi smjh aa gya ...iske phle bht sari videos dekhi thy but aapka ek video batty jala diya 😅❤️❤️❤️
U made my worry ease... Heartiest thanks to u.
Amazing 🤩
Khatrnaak technique hai
THANKS FAR BETTER THEN COLLEGE LECTURE
wow so easy to lurn. i last 1 hr to lurn this tree but not understand but you sir obstanding and so easy to why lurn this thank.😃
Kis kis layer per kon kon se protocol use hote h g ... Ye video bhi Bana deejiye sir g .... Please please
Welcome polytechnic boys 😅
All the best for tomorrow's exam 🎉
really great explanation. Made the tough one very simple. Grateful to you.
Sirrrrr this is the best method i watched other videos but didnt understand but you saved the dayyyyyyyy
Who have the paper tomorrow legends attendance lgwao😅
Not sure if its trick or method but you made it really easier 😂
Its actually a trick. Not the method. 🤔
Thank you so much sir...
It got me hours to understand and was confused .. But because of you I could understand it in a proper , simpler way 😊
Is there anyone in 2024😂
s boos
Thank you for this technique it makes ordering of nodes really simple
bro proved that smart work is better than hard work
the way you explained it that's amazing
Sir you really deserve a award for explaining this topic in an easy way❤
Really sir aapki jitni tareef karenge utni km h 😊 every topic become very easy after watching your videos
Thank you sir for making learning that much easy🙏
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
Thankas a lot sir... I was confused in this topic from many days, but now I understand at once through your good explaination..
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.
Thank you so much sir.. it was really nice and much helpful for the students studying in universities or colleges, myself studing in a college affiliated under the University of Calcutta. Looking forward for this types of more videos from you.. ❤
Great sir. Thank you for the best technique
The word genius is actually made for you sir... God Bless you.. Keep up the good work... Thank you so much
moj la di bhai is lecture ne yaar ye sikhke dil khush ho gya bhaii. was very confused in this topic you just made me clear.
Wow sir you are amazing.. The way of your explanation I just love it.. Don't stop teaching sir carry on we need you as a good teacher.