Minimum Array End Leetcode 75409