Leetcode Smallest Value Array Python Tutorial