Given a binary tree, return its minimum depth: the number of nodes along the shortest path from the root down to the nearest leaf.
A leaf is a node with no children.
The tree is given as a level-order array with explicit nulls, where the children of index i sit at 2i + 1 and 2i + 2. An empty array is an empty tree.