Problem
Given a list of integers arr, return true if **no two different values appear the same number of times**, in other words if every value's count is unique. Otherwise return false.
Example 1
- Input
- arr = [1, 2, 2, 1, 1, 3]
- Output
- true
- Why
- 1 three times, 2 twice, 3 once
Example 2
- Input
- arr = [1, 2]
- Output
- false
- Why
- both appear once
Constraints
1 <= arr.length <= 1000-1000 <= arr[i] <= 1000