Smallest Number Following Pattern Leetcode Problems Python Pdf