solved [minimum depth of binary tree]