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