Leetcode 2336. Smallest Number in Infinite Set | Hello Interview