Minimum Array End Leetcode 75407