Sovled balanced-binary-tree.