반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- ip
- 문자열
- socket
- Algorithm
- 프로그래머스
- 쉬운 문제
- type challenge
- 자바스크립트
- dfs
- 수학
- 그래프
- 타입 챌린지
- 백준
- Crawling
- TCP
- 가천대
- 프로그래머스 레벨 2
- 알고리즘
- 레벨 1
- 소켓
- dp
- javascript
- 타입스크립트
- Node.js
- HTTP 완벽 가이드
- typescript
- HTTP
- 크롤링
- BFS
- Nestjs
Archives
- Today
- Total
목록모의고사 (1)
kakasoo
[node.js] 모의고사 ( 프로그래머스 레벨1 )
// 프로그래머스 level1 모의고사 const first = [1,2,3,4,5]; const second = [2,1,2,3,2,4,2,5]; const third = [3,3,1,1,2,2,4,4,5,5]; function checkTest (answers, submits) { let count = 0; for (let i = 0; i < answers.length; i++) { if (answers[i] === submits[i % submits.length]) { count++; } } return count; } function solution(answers) { var answer = []; let point = []; point.push(checkTest(answers, first)); ..
프로그래밍/알고리즘 풀이
2021. 6. 25. 16:47