values. For every distinct value, count how many times it occurs.
Return True if all these counts are pairwise different, and False if at least two values occur the same number of times.values=[4, 7, 7, 4, 4, 9] → True
4 occurs 3 times, 7 twice, 9 once. All counts differ.
values=[1, 2, 2, 1] → False
Both 1 and 2 occur twice.
values=[4, 7, 7, 4, 4, 9]
True
Run checks the first 3 tests in your browser. Submit checks all 109 tests on the server, hidden ones included.