Leetcode Smallest Value Array Meaning In Python