leetle

Daily challenge for 2026-06-26

542. Unique Color Palette

You are given a list of strings representing colors in a digital palette. To optimize storage, you need to determine how many unique colors are present in the palette. Return the count of unique color strings.

Example:
Input: colors = ["red", "blue", "red", "green", "blue"]
Output: 3

Run this challenge interactively in Python or JavaScript when the app loads.