top of page


113. Path Sum II - LeetCode Fastest Solution
Given the root node of the binary tree and an integer targetSum, return all root to leaf paths in this tree such that, sum of these paths is

Code Recipe
Jan 10, 20254 min read
Â
Â
Â


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
