export function TreeNode(x) { this.val = x this.left = null this.right = null } export function hasPathSum(root, sum) { console.log(root, sum) }
5a2b2
c0f2d
6ff0a