Node.js)백준 2233번: 사과나무
https://www.acmicpc.net/problem/2233 class Apple { constructor(pos1, parent) { this.position = [pos1]; this.parent = parent; this.height = parent?.height ? parent.height + 1 : 1; } mark(pos2) { this.position.push(pos2); }}const input = require('fs').readFileSync('./dev/stdin').toString().trim().split('\n');const N = +input[0];const binary = input[1].trim();const [t1, t2] = input[2].split(' '..
자료구조 알고리즘/백준
2024. 7. 11. 17:08
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 동적프로그래밍
- create databases;
- 서버개발
- 면접질문
- 다이나믹프로그래밍
- 다이나밍프로그래밍
- MySQL
- BFS
- node.js
- 로드나인
- 롱베케이션
- DB 생성
- 면접비
- 최소공통조상
- MOD
- create db
- 은둔청년체험
- 그래프
- 투포인터
- 개발자면접
- 투포인터 연습
- 서버점검
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함