Solve Minimum Depth of Binary Tree