Leetcode Smallest Value Array Python Tutorial W3schools