false
반환true
반환function uniqueOccurrences(arr: number[]): boolean {
const frequent = new Map<number, number>()
for(const num of arr) frequent.set(num, (frequent.get(num) ?? 0) + 1)
const history = new Set<number>()
for(const [key, value] of frequent) {
if(history.has(value)) return false
history.add(value)
}
return true
};
nice taste