반응형
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 | 29 | 30 | 31 |
Tags
- 알고리즘
- 레벨 1
- 프로그래머스
- 백준
- TCP
- type challenge
- 문자열
- HTTP 완벽 가이드
- Algorithm
- dp
- Node.js
- 그래프
- 타입 챌린지
- dfs
- 프로그래머스 레벨 2
- ip
- 자바스크립트
- 크롤링
- typescript
- 쉬운 문제
- 수학
- HTTP
- BFS
- 타입스크립트
- Crawling
- socket
- Nestjs
- 소켓
- 가천대
- javascript
Archives
- Today
- Total
목록가장 긴 증가하는 부분 수열 4 (1)
kakasoo
[node.js] 가장 긴 증가하는 부분 수열 4 ( 백준 14002번 )
const readline = require("readline"); const rl = readline.createInterface({ input: process.stdin, output: process.stdout, }); let count = 0; rl.on("line", (line) => { if (!count) { count = Number(line); } else { main(line); } }); /** * * @param {string} line */ const main = (line) => { const numbers = line.split(" ").map(Number); const DP = new Array(numbers.length).fill(0); for (let i = 0; i < ..
프로그래밍/알고리즘 풀이
2021. 4. 1. 17:51