Tree: Depth-First Search - Sum Root to Leaf Numbers
Consider the same Morris Preorder Traversal code for summing root-to-leaf numbers. What is the output when the tree consists of a single node with value 0?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions