[프로그래머스] 폰켓몬 -JS


[프로그래머스] 폰켓몬 -JS

문제 설명 문제 풀이 function solution(nums) { const set = new Set(nums) const arraySet = [...set] if(arraySet.length > nums.length/2 ) { return nums.length/2 } else { return arraySet.length } } 1...

[프로그래머스] 폰켓몬 -JS에 대한 요약내용입니다.

자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.


원문링크 : [프로그래머스] 폰켓몬 -JS