Tree: Depth-First Search - Path Sum II (All Root-to-Leaf Paths)
Consider the same iterative DFS code for Path Sum II. What is the output when the tree has a single node with value 0 and targetSum=0?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions