/* * function TreeNode(x) { * this.val = x; * this.left = null; * this.right = null; * } */ /** * * @param root TreeNode类 * @param sum int整型 * @return int整型二维数组 */ function pathSum( root , sum ) { // write code here if(!root) return []//false var result = [] function dfs(root,cursum,path){ if(!root)...