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 104 min read
43 views
1 comment


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 84 min read
30 views
1 comment
bottom of page