Find the Number of Distinct Colors Among the Balls

mediumSolve on LeetCodeLast edited: August 2, 2025