Find Index Of Smallest Element In Array Leetcode