Minimum Array End Leetcode Solution 331 Stroker