committing leetcode minimumdepthofbinarytree