minimum-depth-of-binary-tree, parent with one child should not be counted as a leaf