Find the Number of Distinct Colors Among the Balls

mediumSolve on LeetCode
Last edited: August 2, 2025