Count Good Nodes in Binary Tree
Explore howto count “good” nodes those that are not less than any node previously encountered on the path from root to the current node.
Explore howto count “good” nodes those that are not less than any node previously encountered on the path from root to the current node.