This video cleared all my confusion on Morris Traversal. Perfect explanation. Thankyou
@2difficult2do Жыл бұрын
Nice! Your videos are really helpful. All explanations are good and clear. Thank you!
@weili57164 жыл бұрын
3:40 is where the Morris algo started.
@jeffzhang76122 жыл бұрын
have to say, no offense to other popular videos, but this one is way much better 👍
@nguyenhohai882 жыл бұрын
I like before watching your video because i know it's gonna be great. thank you
@yunxie69844 жыл бұрын
Thank you! This is the clearest explanation of Morris Traversal I've seen so far! Can't wait to see more of your videos!
@YeetYeetYe2 жыл бұрын
This is the best explanation I've ever seen! Awesome job.
@KishanKumar-mz3xr4 жыл бұрын
Nice solution, easy to memorise.
@Gness0014 жыл бұрын
Incredible explanation, so great how you used an analogy!
@mandihaase27443 жыл бұрын
I am confused, starting at timestamp 1:51 you say the leftmost node will be smaller and the rightmost node will be bigger, but that is only for binary search trees, correct? The leetcode problem #94 problem is for binary trees, not just binary search trees.
@JHSverige2 жыл бұрын
At 1:38, what you are talking about (left node value < root node value < right node value), that is for Binary Search Tree, not binary tree in general.
@hejiaxin66002 жыл бұрын
very nice presentation! thank you!
@elliemay17484 жыл бұрын
Binary Tree and Binary Search Tree are different.
@aribasiebel2 жыл бұрын
Free content and unfortunately mistakes happen. For that reason I never trust medical advice from utube. Thankfully we have smart commenting. BST is a type of binary tree and not all binary trees are BST,
@cmdv422 жыл бұрын
awesome💯✨
@ziaashraf37063 жыл бұрын
honestly! the explanation is really great!!!
@william03773 жыл бұрын
Excellent Video, thank you!
@LeetCodeSimplified2 жыл бұрын
Is the time complexity O(nlog(n))? That would intuitively make sense to me. I couldn't find the part in the video where the time complexity was explained...
@jaydipbarvaliya3 жыл бұрын
You should sample the diagram on the right side while doing coding, so one can visualize very easily!!! BTW Great Explanation
@xinyuanliu19593 жыл бұрын
Very good
@victorespinoza28524 жыл бұрын
There is enough space in your window to increase the font size.
@rohitmore62322 жыл бұрын
Nice approach, but zoom the code while writing
@MohitKumar-jy6wm3 жыл бұрын
why you are peeking at your right side, is there solution?
@MaheshKumar-dq1gs2 жыл бұрын
Very good explained but BACKGROUND MUSIC IS VERY IRRITATING 😞
@briandavies22212 жыл бұрын
I'm confused.. are these properties: .left .right and .val inherent in a binary tree / the root argument? They aren't declared in your code so are these properties common naming conventions in trees or something? I just don't understand where they're coming from?
@ПавликГерман4 жыл бұрын
why I don't see bridges?
@ThinkFWD4 жыл бұрын
I noticed the lines I drew are super small. In the future vids I’ll make it more obvious. If you full screen the video you should be able to see it