Software Engineer/Developer Interview Question: 112. Path Sum

Solved by 360Interview AI assistant - Given the root of a binary tree and an integer targetSum, return true if the tree has a root-to-leaf path such that adding up all the values along the path equals targetSum. A leaf is a node with no children. #360interviewai #interviewquestions #softewareengineer #leetcode #leetcodesolution

Solved by 360Interview AI assistant - Given the root of a binary tree and an integer targetSum, return true if the tree has a root-to-leaf path such that adding up all the values along the path equals targetSum.A leaf is a node with no children.#360interviewai #interviewquestions #softewareengineer #leetcode #leetcodesolution