Minimum Array End Leetcode Solutions Cppd