Minimum Array End Leetcode 759