Tree: Depth-First Search - Path Sum III (Any Path)
Consider the same prefix sum DFS code as before. What is the output when the input tree has a single node with value 0 and targetSum = 0?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions