Concept Flow - Count Total Nodes in Binary Tree
Start at root node
Is node null?
Yes→Return 0
No
Count left subtree nodes
Count right subtree nodes
Sum left + right + 1 (current node)
Return total count
Start from the root, recursively count nodes in left and right subtrees, then add 1 for the current node.
