1207. Unique Number of Occurrences
Medium
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
解題
Previous1162. As Far from Land as Possible ⭐Next1218. Longest Arithmetic Subsequence of Given Difference
Last updated