This is the best solution which saves the effort of recording whether its the second time to visit the node, amazing!
@danielshahverdi705311 ай бұрын
Thank you for making this video🙏🙏
@gabrielalmeida8584 Жыл бұрын
The best video on youtube about it. Thank you
@farhangouri93 Жыл бұрын
great explanation!! thank you!!
@AparnaBushan Жыл бұрын
I think this is the best explanation out there for postorder iterative!
@quannguyenhahong168 Жыл бұрын
Thank you, great explanation!
@dalaibrahim Жыл бұрын
thank you this was super helpful
@dsclips900 Жыл бұрын
Hi man, why you stopped uploading videos, they are very instructive, thanks!
@PhyleyCS Жыл бұрын
Hello! I got busy with other things and other channels... 🙂 Thanks for asking!
@dsclips900 Жыл бұрын
@@PhyleyCS Which channels?
@PhyleyCS Жыл бұрын
Mostly related to web development. Recently, I started this channel: www.youtube.com/@StrangestCode
@reshsajitalks9843 Жыл бұрын
Best explanation
@rishimegharaj29132 жыл бұрын
Nice explanation...
@yahircorona-martinez93112 жыл бұрын
Great video and thanks for walking through the code!
@ElementMucho2 жыл бұрын
Thank you so much
@QUITEthegamer2 жыл бұрын
really good explanation
@harsh95582 жыл бұрын
Best video 🔥
@emmanuelezeka72362 жыл бұрын
Yo, your video is amazing. Like I couldn't move on without visualizing what you shared in this video. Thanks and I am looking forward to equivalent content in other parts of DSA.
@krishnaneeldey87222 жыл бұрын
Your videoes are super cool 💥
@chestermartin23562 жыл бұрын
Most helpful video yet, still not clicked with me yet but I feel about 10 steps further now
@chestermartin23562 жыл бұрын
Although I went back to rewrite my method and immediately understood it so great success :D thank you
@jatinchoubey60532 жыл бұрын
Best Video. I understood the concept completely. Thanks alot ❤️❤️⚡⚡
@anschoudhary13762 жыл бұрын
splendid
@luiza41422 жыл бұрын
Best explanation i ever see, thanks.
@larryellison5312 жыл бұрын
explanation is good.
@Shiv-vb1re3 жыл бұрын
Thanks man
@Magmatic913 жыл бұрын
Thank you so much, I think after seeing many videos about this subject I finally understood the concept of recursion thanks to your explanation.
@MotherJammer3 жыл бұрын
Thank you for your great explanation! Helped me a lot for my algorithm class :D
@PerfectCodeAcademy3 жыл бұрын
it is wonderful thank you..
@rachelf54663 жыл бұрын
Thank you for making this visual representation! I've been looking for one of these for a while to understand the traversals
@ikhlasadely45563 жыл бұрын
thank you
@haythemoldaccount79533 жыл бұрын
Hello, thank you for the video, I was wondering if it were possible to make the function int instead of Node* and just return root->key instead of root ? thank you
@PhyleyCS3 жыл бұрын
Hi, glad you liked it! The point of the function is to return the pointer to the node with a given key (or nullptr if there's no such node), so you actually already know what the key is. The problem with returning the key is that it does not seem useful and it is not clear what should be returned if the key is not in the tree. If what you want is to just know whether the key is present in the tree, you can return a bool instead of Node *.
@haythemoldaccount79533 жыл бұрын
@@PhyleyCS oohhhh okay silly me lol, I can't believe that slipped my mind, that makes a lot more sense haha. thanks
@nahleaky5863 жыл бұрын
brilliant explanation
@jnyfah3 жыл бұрын
Spot on!!
@elvissam14013 жыл бұрын
Muchas gracias, Dios te bendiga.
@alamusneha97723 жыл бұрын
Thanks for helping out
@ZaaachG184 жыл бұрын
This was super helpful for me. The delimiter part was clutch.
@varunmodak61004 жыл бұрын
Yo this video was so detailed and well explained. Looked so long for a video that covers the algorithm extensively, and you do an amazing job! Thanks a ton.
@shootoshoot86854 жыл бұрын
thankyou for this amazing explanation 👍
@tamilcodingclub38324 жыл бұрын
I actually understood to some extent only in your video!
@asarpansaini4 жыл бұрын
Sir your videos are the ones which I was searching for last 10 months...great sir Please keep on uploading such great videos
@mail2ttarun4 жыл бұрын
Pretty awesome explanation!! And I don't think the code could be anymore concise than this.
@aloksharma41064 жыл бұрын
why your channal is underrated ... your way of explanation is stunning bro
@code74344 жыл бұрын
This idea will fail for N-ary tree
@elinxxi3 жыл бұрын
Why? I emulate the 3-way case, looks like it works also
@waynefong59604 жыл бұрын
Thank you for the video. This helped me to solve one of the question in my assignment. Keep going!
@ilsunchoi31724 жыл бұрын
Bro. I couldn't thank you enough. It's been days to figure out how to find a node in Binary Tree. Now I used it to see it working perfectly! Thanks
@radiagulzan4 жыл бұрын
you videos are golden!
@radiagulzan4 жыл бұрын
thank you!
@vjunloc14 жыл бұрын
You are an excellent teacher, no BS, to the point and very clear. Please make more such videos
@angadjitsingh61444 жыл бұрын
thank you so much
@syedsaif91434 жыл бұрын
Hey! Thank you so much for making these vids man! I love how u use drawings to help visualize things. Don't worry about your subs or views, just keep putting out content, it'll all be of use one day.
@PhyleyCS4 жыл бұрын
I appreciate that!
@jitendertehlan13844 жыл бұрын
Sir,what's the time complexity for finding height of balanced binary search tree
@PhyleyCS4 жыл бұрын
Using the algorithm described in this video, the time complexity is O(n) (as mention at the end). This is the same no matter what the shape of the binary tree is. Therefore, the time complexity for a balanced binary search tree is still O(n).
@jitendertehlan13844 жыл бұрын
@@PhyleyCS ok sir,thankyou very much
@boshiij34494 жыл бұрын
going through the code step by step really helped me understand. Thank you so much!