Tree: Depth-First Search - Sum Root to Leaf Numbers
Consider the following Python code implementing the Morris Preorder Traversal approach to sum root-to-leaf numbers. Given the binary tree:
1
/ \
2 3
What is the final value of the variable
total returned by sumNumbers?