Tree: Depth-First Search - Count Complete Tree Nodes
Consider the following code snippet implementing the optimal countNodes function for a complete binary tree. Given the tree:
1
/ \
2 3
/
4
What is the final return value of countNodes(root)?
