반응형
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
- javascript
- 프로그래머스 레벨 2
- 레벨 1
- BFS
- 문자열
- dfs
- 쉬운 문제
- HTTP
- 프로그래머스
- Nestjs
- socket
- typescript
- 크롤링
- 가천대
- 타입 챌린지
- 소켓
- Node.js
- 그래프
- 타입스크립트
- TCP
- HTTP 완벽 가이드
- 수학
- ip
- type challenge
- Crawling
- dp
- 알고리즘
- 백준
- 자바스크립트
- Algorithm
Archives
- Today
- Total
목록소수 만들기 (1)
kakasoo

// 프로그래머스 레벨1 소수 만들기를 풀었습니다. const solution = (nums) => { const answer = []; const visited = Array(nums.length).fill(false); let count = 0; const sumOfVisited = () => { let sum = 0; for (let i = 0; i { if (visited.filter((el) => el).length === 3) { answer.push(sumOfVisited()); return;..
프로그래밍/알고리즘 풀이
2021. 6. 30. 09:07