Rosetta Problems

Find the Number of Distinct Colors Among the Balls

https://leetcode.com/problems/find-the-number-of-distinct-colors-among-the-balls