function hasPathSum( root, sum ){ if( root == null ){ return false; &...