import java.util.*; import java.util.Map; public class Solution { public boolean IsBalanced_Solution(TreeNode root) { highmap.put(null,0); depth(root); return judgehighabs(root); } Map<TreeNode,Integer> highmap=new HashMap<TreeNode,Integer>(); //求树...