1207. Unique Number of Occurrences
https://leetcode.com/problems/unique-number-of-occurrences
Description
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 1:
Example 2:
Example 3:
Constraints:
1 <= arr.length <= 1000
-1000 <= arr[i] <= 1000
ac
Last updated