Skip to main content

폰켓몬

Solution

function solution(nums) {
return Math.min(new Set(nums).size, Math.floor(nums.length / 2));
}

Review

.

References