function solution(array, height){
return array.filter(n => n > height).length
}
function solution(array, n) {
return array.filter(el => el === n).length
}
0단계라 그런가 비슷한 문제들이 있는거 같다..
하지만 이제 코테 시작한 내 머리로는 0단계도 버거워!
0단계면 1일 3문제는 가능하겠다!
[0단계] 숫자 비교하기 (0) | 2023.01.27 |
---|