Path Sum - determine if a binary tree has a root-to-leaf path such that adding up all the values along the path equals a given target sum: https://leetcode.com/problems/path-sum/
Still use preorder traverse, however need to address two edge cases, one is when root is null, need to return false, another case is the definition of leaf node, only when left and right node both are null, we can say it's a leaf node.