Minimum Array End Leetcode 7545472681