Minimum Array End Leetcode 754001 Pin