Minimum Array End Leetcode Contest Prediction