Minimum depth of binary tree AC.