LeetCode
Unique Number of Occurrences
Click
here
for an explanation.