Given the root of a Binary Search Tree and an integer targetSum, return all root-to-leaf paths where the sum of the node values in the path equals targetSum. Each path should be returned as a list of…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.