leetle

Daily challenge for 2025-12-30

364. Distinct Occurrence Counts

Given an array of integers arr, return true if the number of occurrences of each value in the array is unique, or false otherwise.

Example:
Input: arr = [1,2,2,1,1,3]
Output: true (1 appears 3 times, 2 appears 2 times, and 3 appears 1 time).

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