6 years later, and this still helped understand. Concepts are truly timeless!
@seabass76154 ай бұрын
10 years for me now lol
@jervx8292 ай бұрын
@@seabass7615 how many experience do you have in dev? Me just graduated, but still going back here because too much learning frameworks kinda forgot how this work lmao
@seabass76152 ай бұрын
@@jervx829 Im a sophomore in college for CS right now. I just meant that this 10 year old video still really helped me.
@chia-juchen82467 жыл бұрын
I remember watching your video in linked list for my data structure assignment as a freshman, now I am already studying CS master in the US and start watching your video again for preparing coding interviews! Sir, you're awesome! very clear explanation and easy to follow!
@jeppojeps7 жыл бұрын
man, I have a PhD in CS, your work is outstanding, it's a great effort to make things clear and accessible to anyone
@betrp4 жыл бұрын
BTW why are you watching this
@BharathKumarSampath4 жыл бұрын
😂 curious to know
@mohandas32123 жыл бұрын
@@betrp 😂💯
@DangThinh2613 жыл бұрын
Add friend me 🥲
@jackmiller25182 жыл бұрын
just had to tell us about your PhD didnt you
@Srinivasssssss11 ай бұрын
This video is almost 9 years ago, but still this video it is the best explaination for level order traversal...(for me) Thank you so much sir...
@on_a_grind_rn11 күн бұрын
Its incredible how relevant these videos are even after a decade. Absolute respect to the creator.
@pitchaiahsoma529510 жыл бұрын
You are the best teacher with a perfect tone of gifted voice and providing clear explanations about what is happening in memory. These fundamentals would be stamped into our memory easily. Please keep up the great job extending videos to new topics.
@jonathanlim22699 жыл бұрын
I've grown to be a fan of your videos - they're my first stop for any question or concept I need to clarify on programming!
@mycodeschool9 жыл бұрын
Jonathan Lim Thanks a lot :)
@amateurbeginner75387 жыл бұрын
why do we need current in this example ? :)
@schizophrenicleo30364 жыл бұрын
@@mycodeschool Have you guys moved somewhere? Where is the website? There are not new videos from the past three years as well :(
@sravanthkumarchintalacheru13594 жыл бұрын
@@schizophrenicleo3036 From the comment sections and the news, I learned that the creator of this channel died in a road accident :( He's famous in programming community as Humble Fool
@schizophrenicleo30364 жыл бұрын
@@sravanthkumarchintalacheru1359 Oh , I am sorry. Didn't know that. He was indeed making wonderful videos though.
@slayerq39 жыл бұрын
You are doing god's work, seriously...This is the only place I've learned sorting algorithms, trees, linked lists, everything related to my syllabus. I should be paying you instead of my college :P
@AlexanderMcNulty927 жыл бұрын
Sad but true. His code is so much cleaner than anything in the books.
@nikhilbalwani22856 жыл бұрын
LOL. Donate generously to mycodeschool.
@vincentlavello34994 жыл бұрын
I totally agree. Thanks for this. I will be donating - wish I could get my tuition refunded and donate it here.
@adityaojha27014 жыл бұрын
Man even 4 years later this is the best playlist on DS.
@abdelrhmanahmed13784 жыл бұрын
@@adityaojha2701 true its the best in the entire world wide web and even among university prof
@jcvandermerwe53113 жыл бұрын
I work in C# and this is the first time that I got a clear understanding about Level_Order_Traversing. Brilliant work.
@madanmohan56612 жыл бұрын
How the Fu*k should I print this, I understand all things that is taught in this video but I don't know how it will print the elements
@Huehhee7777 Жыл бұрын
@@madanmohan5661 Don't use curse words in educational videos
@ajaygunalan199511 ай бұрын
9 years later, this is still, gold!
@mycodeschool10 жыл бұрын
Next Lesson: - Binary tree traversal: Preorder, Inorder, Postorder
@rohit27618 жыл бұрын
+mycodeschool okay babu
@amateurbeginner75387 жыл бұрын
GOD bless you , you are the best teacher i have ever seen :) great attitude, clear explanation and organized material :)
@sr32819 жыл бұрын
I always check your videos for a quick, concise and clear explanation of anything I want to learn. Your channels the channel I check for first when I search youtube for tech videos. Thank you very much
@AlexanderMcNulty927 жыл бұрын
Your channel has officially earned my trust. I will recommend anyone interested in basic data structures to come here.
@vaibhavtiwari65403 жыл бұрын
Naming the enqueued as discovered nodes and dequeued as visited nodes makes it much more intuitive, thanks.
@zondidlaw2195Ай бұрын
man i have a PhD in CS and a founder of it, love your videos man, clear explanations
@nitinjaiman10 жыл бұрын
dude you are really good in teaching. i went through almost all your videos now i feel really confident in these topics
@eddyateye8102 жыл бұрын
wow, this guy is huge with explanation... keep it up. have been looking for explanation for this but I think i discovered more than i wanted... bless you guy
@laveshchanchawat69832 жыл бұрын
until now i seen many videos over the youtube but no one was capable to teach in easy and mannerful way then this,founded the bestest video after learning from many .THAnK you man.
@madanmohan56612 жыл бұрын
How should I print this, I understand all things that is taught in this video but I don't know how it will print the elements
@AvantikaShukla-b3p2 ай бұрын
Finally found the best explanation of level order traversal
@looppp9 жыл бұрын
mycodeschool is the best.
@sunnysidesounds9 жыл бұрын
Excellent, this was extremely helpful to visually see the level order traversal. I have been having trouble with other examples visually seeing what was happening and this cleared it up greatly. Thank you!
@honeyshihtzu96758 жыл бұрын
Guys u r doing an awesome job.... wish it all happened a decade back...
@HK-no9wm7 жыл бұрын
I really wish that u taught at my university. My professor uploaded a bunch of code and told us to go figure it ourselves and that was his genuius idea of teaching.
@MJ-zs5jv Жыл бұрын
I plunged into the way you explained. Love it.
@jamisongriffith63083 жыл бұрын
Incredibly helpful! The theoretical lesson was excellent. The code walkthrough was hard to follow, but you did such a good job at teaching with diagrams that the walkthrough wasn't necessary.
@factwithhunny0782 жыл бұрын
True
@anonnona6940 Жыл бұрын
Best explanation by far still after 8 years
@Contemelia3 жыл бұрын
My prof took 53 minutes. You took 38 seconds. Thanks a lot man :)
I am shocked by seeing the explanation of code because it is crisp and neat and also easily understandable. Great work sir.Hope you to add Data structures interview questions on trees and linked lists with code
@serenestrolls-d7b8 жыл бұрын
You got a really thorough knowledge, and you are getting way low audience than you deserve. i m trying to tell most of my friends to refer to your channel.
@sachinos8 жыл бұрын
it's big art of having such kind of wonderful explanation.. this remember me all MIT university video...
@noumanmalik9606 жыл бұрын
Sir I cant thank enough ,You made me understand all the concepts and I will promote your channel in whatever way I can. Thank you
@MaxSharpy Жыл бұрын
Great video! Very usefull even after 9 years! Code explanation was so good, I had no problems in implementing it into JS and I dont even know any other programming language. Thank you Sir for your work!
@mycodeschool10 жыл бұрын
Poyo Boy - A pointer variable always stores an address. For the definition of Node in this lesson, if I have a pointer to current node in a variable named current, then current will give me the address of that node ,,, current->left will give me address of left child and current->right will give me address of right child. Did you watch previous lessons on tree in this series? They should make things clear for you. Data structures: Introduction to Trees
@truongvanloc827510 жыл бұрын
Do we use stack for other binary tree traversal algorithm: PreOder,InOder,PostOder?
yes bro we are using stack(implicitly) .but ,it takes place in application memory stack
@camillesatoshi8393 Жыл бұрын
Again, your explanations have the right depth and keeps complete ! Thank you for the great content!🤓
@sa250783 жыл бұрын
Another great video from MyCodeSchool .Thank You for your existence.
@madanmohan56612 жыл бұрын
How should I print this, I understand all things that is taught in this video but I don't know how it will print the elements
@TangiralaVenkat9 жыл бұрын
Your videos are great sir it clearly explains what is there and helped me a lot Thank you sir Thank you very much
@saurabh2802Ай бұрын
this is so brilliantly explained
@bilalbashir83617 жыл бұрын
xplaining very lucidly snd clearing the doubts
@DiamondDogGoPewPew6 жыл бұрын
Truly ... Thank You. I love your visual , they always help me understand the concepts.Clear and understandable. Awesome!
@TomLobato7 жыл бұрын
great class! tks! in 10:35, the max num of nodes in the deepest level is (n+1)/2, not n/2. Just noticed because I`m using a fixed size queue, so I had to calculate the max.
@akshaypathange35826 жыл бұрын
Tom Lobato he said at least
@vijay68774 жыл бұрын
I also love you like many others. after you explain the topic it look so easy and simple.
@ritikpatel32865 жыл бұрын
One of the best explanation's out there!
@hossamtolba9485 жыл бұрын
Really your are the best, every time I try to understand a concept you rock it. I hope you rest in peace you did very well
@ishanpand3y5 жыл бұрын
This man is still alive actually one of the founders of MyCodeSchool Harsha S aka Humblefool has passed away. The man behind this voice, Animesh Nayan, is currently working at Google. You can search his name on Linkedin.
@hossamtolba9485 жыл бұрын
Really sorry to say, RIP hamblefool. So why Nayan is no longer uploading videos, we miss his videos 😔
@madanmohan56612 жыл бұрын
How should I print this, I understand all things that is taught in this video but I don't know how it will print the elements
@jeetsharma12924 жыл бұрын
Awesome ...simple and yet so advanced!
@ardhyakumar25396 жыл бұрын
I bet, anyone cannot find better teaching elsewhere, whether be it paid course or at university :), I am rarely a fan of someone but I've been your and your channel's fan for quite a long time :)
@MrNiceone997 жыл бұрын
Bro you are doing a great job :) I am learning computer science just from videos. Thank you very much.
@MJ-zs5jv Жыл бұрын
These videos are really great to mayhem the fear of non-linear DS.
@mursalinhabib11564 жыл бұрын
These guys are crazy amazing, You guys deserve a Turin prize!
@Cassandra8155210 ай бұрын
The best explanation ever, thanks a lot!
@goldymarizlunesa87197 жыл бұрын
I love your videos! All very easy to comprehend and understand. Thank you very much.
@11m07 жыл бұрын
Seriously, do you have a patreon or a donation link. I want to show my appreciation for what you've done for me by posting these videos
@kyssl7 жыл бұрын
Victor Oben he's at Google/Microsoft now
@theFifthMountain1236 жыл бұрын
Disable adBlocks for his videos and if possible click on advertiser links.
@JackSparrow-bx8oo4 жыл бұрын
He died in road accident
@anveshreddypinnapareddy35524 жыл бұрын
@@JackSparrow-bx8oo Nah, that's not him. His friend, co-founder of mycodeschool died in a road accident.
@jonathanharoun52474 жыл бұрын
This is actually mind blowing
@DurgaGuntoju10 жыл бұрын
Nice Explanation. You should explain the Tricky Part here. Output should be level wise. Means, E DJ BEGK ACI H
@ashwinimishra40976 жыл бұрын
this is the the best way to learn new things .
@josnoordzij68024 жыл бұрын
This helped me tremendously. Thank you very much. Great work!
@26411bapul7 жыл бұрын
This is called best and awesome way of teaching some one. You really deserve 1000 Million likes. :)
@nigannayak21397 жыл бұрын
videos are really helpful...they helped me a lot....thankyou sir and keep sharing this...
@austinbvi5 жыл бұрын
Can't thank you enough for this playlist!
@fury26138 жыл бұрын
Probably the only Indian who makes such good videos on programming!
@MCrown5 жыл бұрын
You are the best! Thanks for so clear explanation
@hhammash7 жыл бұрын
Great job, your videos are awesome and your presentation method is very clear.
@kunalsoni76815 жыл бұрын
sir seriously this presentation is greatly awesome.. i really learn too much.. thanks 😊😙☺
@dawkinsjh9 жыл бұрын
Super clear explanation of this!
@snehill72753 жыл бұрын
& here is your new folwr....concise and well explained. You're amazing! thankyou : )
@likithareddy46277 жыл бұрын
youre really a kind hearted person. thanks for making such a nice and decent video. i want to like all you videos dude they are really upto mark
@CautiousCrow9 жыл бұрын
Concise and well explained. You're amazing!
@PriyanshulGovil3 жыл бұрын
You need to come back, I'm not even kidding!
@zoumzoumzou5 жыл бұрын
Great explanations ! it's sad to see that the website is offline :( hopefully you moved on to some other great stuff
@honeyshihtzu96758 жыл бұрын
I refer ur videos for any doubts ... and seriously u guys should start planning to charge .... :)
@govindkothari79895 жыл бұрын
queue test; void levelorder() { test.push(root); while(!test.empty()) { struct node* temp = test.front(); cout info left) test.push(temp->left); if(temp->right) test.push(temp->right); test.pop(); } } // it will work fine
@paragkarguppikar90069 жыл бұрын
just awesome.. u r better than all the professors out here :)
@AwaraGhumakkad3 жыл бұрын
Amazing way of explaining :)
@Qweertt-y4r2 жыл бұрын
your explanation is on the next level man. but anyone who can help me with the java code of these.
@parthshah63434 жыл бұрын
Why are we doing queue instead of just queue can anyone please explain?
@elishaalibakhsh73933 жыл бұрын
You saved me one more time. Thanks
@vithushanjegatheeswaran53178 жыл бұрын
WOW nice tutorial + thank you for the 21:9 format the video fits on my ultrawide screen perfectly
@axelramirezlinarez74495 жыл бұрын
Incredible quality of videos, amazing work!
@caseysick21544 жыл бұрын
Great video and explanation. could just be instead of popping it after pushing. Thank you.
@madanmohan56612 жыл бұрын
How should I print this, I understand all things that is taught in this video but I don't know how it will print the elements
@tapanachary23484 жыл бұрын
Wow , mind blowing explanation , thank you so much
@kyzuno5066 Жыл бұрын
God damn it. You are so great at teaching, my tuition should have gone to you instead of my professor.
@simplymade78026 жыл бұрын
Sir your voice and accent and of course your teaching is amazing...frm where do uh belong sr??
@San_Jan_3 жыл бұрын
Very clean explanation🙂
@memofahood454310 жыл бұрын
Thank you thank you thank you. Your explanation is so amazing. That helps me a lot
@kartikxramesh5 жыл бұрын
Great solution, I paused the video after seeing the question, and tried t solve it myself. Here how i was able to solve it using recursion. void printTree(Node* root){ static int flag = 1; //don't be confused about flag i'm only using it because otherwise every node except the if(!root) //original root node was printing twice return; if(flag){ cout
@tanishkagupta69314 жыл бұрын
Please make videos on AVL, RB trees, and prominent algos as soon as possible!
@madanmohan56612 жыл бұрын
How the Fu*k should I print this, I understand all things that is taught in this video but I don't know how it will print the elements
@deepeshrathi34084 жыл бұрын
Travelling in level order with the help of recursion is quite easy than that of while loop
@dallasdominguez22244 жыл бұрын
Love watching these videos. Theyre like little brain logic puzzles.
@HeyMr.OO7 Жыл бұрын
Legendary.. Simply Legendary 👍🏻
@roliverma44833 жыл бұрын
You make it all so simple :) Thankyou so much
@PiyushJain018 жыл бұрын
excellent video of preorder , postorder and inorder . this video cleared my all douts but i will become more better if you also explain algorithm of them. so please provide algo. of them
@harshithvb17 жыл бұрын
I like your videos very much. Very simple and straight forward explanation. Thank you.
@prats225 ай бұрын
Watching after 10 years
@DMDRPBHU4 жыл бұрын
i rarely comment but you are a legendddddddddddd
@sbond_00778 жыл бұрын
Thank you is a small word! Keep recording.
@goelshubham467 жыл бұрын
by the logic u were using,q.pop() should come in the second line of the while loop not in the end.
@rbsupercool10 жыл бұрын
thank you very much again.. mycodeschool rocks.. i'm your biggest fan.. :)
@anirvansen29414 жыл бұрын
Python Implementation: def level_order_traversal(self): if not self.root: return -1 else: queue = [] queue.append(self.root) while len(queue) != 0: popped = queue.pop(0) print(popped.data,end=" ") if popped.left: queue.append(popped.left) if popped.right: queue.append(popped.right)
@MegaPaloma19885 жыл бұрын
Thank for the high level quality of the content .. keep doing ;)