public static int sum(TreeNode root){ if(root==n...