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
The process visits each node starting from the root, counts nodes in left and right subtrees recursively, then sums them with the current node.