80ms Python Solution
def depthAndBalan(self, root):\n        if root is None:\n            return 1, True\n        leftDep, leftBal = self.depthAndBalan(root.left)\n        rightDep
    def depthAndBalan(self, root):\n        if root is None:\n            return 1, True\n        leftDep, leftBal = self.depthAndBalan(root.left)\n        rightDep, rightBal = self.depthAndBalan(root.right)\n        curBal = abs(leftDep - rightDep) <= 1\n        return max(leftDep, rightDep)+1, leftBal and rightBal and curBal\n        \n    def isBalanced(self, root):\n        return self.depthAndBalan(root)[1]
['Python']