public boolean IsBalanced_Solution(TreeNode root) { if(root==null) return true; if(Math.abs(Dtool(root.left)-Dtool(root.right))>1)return false; return IsBalanced_Solution(root.left)&&IsBalanced_Solution(root.right); } public int Dtool(TreeNode root){ ...