Minimum Array End Leetcode 7545443249