top of page


112. Path Sum - LeetCode Fastest Solution
Given the root node of a binary tree and an integer targetSum, return true if the tree has a path from root-to-leaf such that the sum of all

Code Recipe
Jan 8, 20254 min read
Â
Â
Â
bottom of page
