LeetCode: 2336-Smallest Number in Infinite Set 解題紀錄
Last Updated on 2023-04-25 by Clay
題目
You have a set which contains all positive integers [1, 2, 3, 4, 5, ...].
Implement the SmallestInfiniteSet class:
Last Updated on 2023-04-25 by Clay
You have a set which contains all positive integers [1, 2, 3, 4, 5, ...].
Implement the SmallestInfiniteSet class: