LeetCode - Path Sum II
Problem statement
Given the root of a binary 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 the node values, not node references.
A...
alkesh26.hashnode.dev6 min read