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

const readline = require("readline"); const rl = readline.createInterface({ input: process.stdin, output: process.stdout, }); rl.on("line", (line) => { main(line); rl.close(); }).on("close", () => { process.exit(); }); const findEmotion = (line, emotion) => { let count = 0; for (let i = 0; i < line.length - 3; i++) { if (line[i] === emotion[0]) { if (line[i + 1] === emotion[1]) { if (line[i + 2]..
프로그래밍/알고리즘 풀이
2021. 4. 11. 14:18