Distinct Numbers in Each Subarray

mediumSolve on LeetCodeLast edited: August 2, 2025