Please *Like* , *Comment* , *Share* , *Subscribe* and *Click Bell* 🔔🔔🔔 Icon for More Updates. To get *Data Structures and Algorithms* complete course for free please follow this link - kzbin.info/aero/PL6Zs6LgrJj3tDXv8a_elC6eT_4R5gfX4d
@ujjwaljagtiani57604 жыл бұрын
Never have I seen someone explaining trees recursion so well. Wonderful !
@itsdineshvaryani4 жыл бұрын
Thanks !!!
@sameergrover76 ай бұрын
There are n number of channels on youtube but the way you teach things is completely different it's simple, precise and just point to point no rubbish ! You are great sir! Thank you for the wonderful videos never stop teaching us !
@itsdineshvaryani6 ай бұрын
Welcome
@travelnlearn2 жыл бұрын
You have made pre post and inorder easier for us to understand. Thank You , these videos are a gem for me.
@itsdineshvaryani2 жыл бұрын
Thanks ... Please share it with your friends and colleagues too !!!
@shubhamagarwal14342 жыл бұрын
Best series for DS & Algo. I am also 10 yrs java exp guy. Was looking for DS & Algo free course over KZbin with java implementation and found this. Hats Off To You Man..Excellent Work. GOD BLESS YOU :)
@itsdineshvaryani2 жыл бұрын
Thanks !!!
@samjam_934 жыл бұрын
Iterative approach pseudo: Stack s1 = new Satck(); Stack s2 = new Satck(); s1.push(root); while(!s1.isEmpty()){ temp = s1.pop(); s2.push(temp) if(temp.left != null) { s2.push(temp.left); } if(temp.right!= null) { s2.push(temp.right); } } Now pop all the elements of s2 stack they will be in post order
@itsdineshvaryani4 жыл бұрын
Try to use one stack !!!
@vigasvigas88482 жыл бұрын
I'm searching for long days, this kind of explanation for recursion..thanks for making the concept of recursion easier
@itsdineshvaryani2 жыл бұрын
Welcome !!!
@chinthanasachin16843 жыл бұрын
Finally I found this video which has a detailed explanation about Postorder Traversal in java. Top quality explanation! Thanks a lot!
@itsdineshvaryani3 жыл бұрын
welcome !!!
@bharathenishetty15502 жыл бұрын
superb video what a patience, clean and clear cut explanation
@itsdineshvaryani2 жыл бұрын
Thanks !!!
@anupmistry4794 жыл бұрын
Best channel for learning DSA.
@itsdineshvaryani4 жыл бұрын
Thanks !!!
@ascar662 жыл бұрын
Thank you sir, nice video! Comment to support your channel
@itsdineshvaryani2 жыл бұрын
Thanks !!!
@maruthiprasanna8156 жыл бұрын
very good explanation. Can you please post other videos in this series? For dynamic programming, greedy algorithms and graph theory, String algorithms..
@alokpal73473 жыл бұрын
best explanation sir ji
@itsdineshvaryani3 жыл бұрын
Thanks !!!
@NabilaNazirkhan4 жыл бұрын
Is it okay to have a method as "public void postorder(){// if() return}" and have a return statement within it?
@itsdineshvaryani4 жыл бұрын
void methods can have return statement.
@abinashbarik51286 жыл бұрын
Hi SIr ..I want a video on quick sort and some video on stack prefix and suffix
@tc07client56 жыл бұрын
Thanks for explaining the code!
@audricrukerikibaye37044 жыл бұрын
Thanks buddy!! your video was awesome and very helpful!!
@itsdineshvaryani4 жыл бұрын
You're welcome!
@aadityajaiswal19703 жыл бұрын
Sir,which one should we follow, recursive or iterative approach.
@itsdineshvaryani3 жыл бұрын
both hv similar complexities ... recursive is easy to write !!!
@debashishpattnaik46625 жыл бұрын
At 17:08, line no. was changed from 5 to 6. Can u explain a bit further, why changed.
@Stephen_Samuel5 жыл бұрын
*postOrder(root.left);* of 9 was completely executed, therefore *postOrder(root.left);* (i.e the next line) is being executed next.
@shubhamsingh-lf6zy3 жыл бұрын
Sir when value is null why execution goes to 6 why not to 1?
@itsdineshvaryani3 жыл бұрын
Can you ping me a video timeframe where u cannot understand?