Leetcode Smallest Value Array Meaning Code