when I saw LeetCode question , I got scared but after watching your video , it becomes very simple to understand ..! you got new subscriber ..!
@sidazhong20194 ай бұрын
This is more like a stack way instead of dfs() tree traversal. Or let's say you combined them together. brilliant, I have a new understanding of trees now.
@rushikeshbutley757611 ай бұрын
I always get the intuition but I very much struggle while coming up with code or putting it in such way that i can write code based on dry run or solution i came up with. I always feel like giving up in middle of doing dry code as I feel I will not be able to solve it. Not sure how am gonna do this in interview 😑
@luvverma68672 жыл бұрын
Amazing Videos!! Thankful to you !!
@crackfaang2 жыл бұрын
Thank you! Comments like this keep me going
@amandwivedi19802 жыл бұрын
Try adding code links for clearness.
@michaelhernandez54782 жыл бұрын
Thank you! How you set up the recursion upon reaching the earliest inorder leaf node makes sense. Would it be possible for you to do a handful of backtracking/brute force combinations/permutations problems? I'm going through 465 Optimal Account Balancing and 679 24 Game specifically, and can't figure out how to structure the recursion properly against the expected result.
@crackfaang2 жыл бұрын
First of all thank you for your support. I’ll add those problems to my work queue and make videos in the near future. Make sure you subscribe so you don’t miss them when they come out 😁
@annlaosun62605 ай бұрын
omg, thank you thank you thnak you!
@rsKayiira2 жыл бұрын
Great video could you please do LC 636 Exclusive Time of Functions
@crackfaang2 жыл бұрын
Sure, I’ll do so when I return home from my vacation
@AmolGautam Жыл бұрын
thanks
@cmdv422 жыл бұрын
🙌💯✨
@alexistm5 ай бұрын
Can this be done without recursion?
@crackfaang5 ай бұрын
Yes, most recursion problem can be solved with an iterative solution and vice versa. Probably some exceptions exist but in general the rule holds true