Minimum Element In Array Leetcode