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

// 백준 1182번 부분 수열의 합을 풀었습니다. const readline = require("readline"); const rl = readline.createInterface({ input: process.stdin, output: process.stdout, }); const combinations = function* (elements, selectNumber) { for (let i = 0; i < elements.length; i++) { if (selectNumber === 1) { yield [elements[i]]; } else { const fixed = elements[i]; const rest = elements.slice(i + 1); for (const a of combin..
프로그래밍/알고리즘 풀이
2021. 8. 1. 14:17