Minimum Array End Leetcode Solutions In C