Sovled minimum-depth-of-binary-tree.