Tree: Depth-First Search - Count Complete Tree Nodes
Consider the optimal countNodes function for a complete binary tree. What is the output when the input tree is empty (root = None)?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions