Rosetta Problems

Distinct Numbers in Each Subarray

https://leetcode.com/problems/distinct-numbers-in-each-subarray