shashi·Apr 15, 2024112. Path SumGiven the root of a binary tree and an integer targetSum, return true if the tree has a root-to-leaf path such that adding up all the…
shashi·Apr 14, 2024404. Sum of Left LeavesA leaf is a node with no children. A left leaf is a leaf that is the left child of another node.