Minimum Array End Leetcode 75th Question