Introduction
It is one of algorithms I came cross. I like to practice again. One of ideas is to traverse the tree using post order traversal, and then design a recursive function to return maximum path from root to leaf node, and then add some additional task in the recursive function
My practice
I like to share my practice on Leetcode.com discuss. Here is the link.
No comments:
Post a Comment