If the depth of each node of the left subtree and right subtree binary tree is not greater than 1, it is a balanced binary tree.
Whether to write a function of depth demand, then each node is determined, the depth and the right subtree see left subtree of the node 1 is greater than the difference between the depth