일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 깊이 우선 탐색
- group by
- 동적계획법
- 프로그래머스
- DP
- bfs
- Lv. 0
- SQL 고득점 KIT
- Lv. 3
- 파이썬
- 백준
- level 3
- Java
- Python
- 자바스크립트
- 티스토리챌린지
- Dynamic Programming
- dfs
- SQL
- LEVEL 2
- Lv. 2
- 너비 우선 탐색
- javascript
- 오블완
- softeer
- Baekjoon
- 소프티어
- join
- Lv. 1
- programmers
- Today
- Total
목록Q (3)
몸과 마음이 건전한 SW 개발자
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/76502 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드function solution(s) { const n = s.length; let answer = 0; const isValid = (arr) => { const stack = []; for (const a of arr) { if (stack.length) { const last = sta..
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/131704?language=javascript# 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드function solution(order) { const n = order.length; let answer = 0; let currentOrder = 1; const stack = []; for (let i = 0; i currentOrder) { while (currentBox > cu..
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/176962# 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 function solution(plans) { const lenP = plans.length - 1; const answer = []; let stack = []; // 시작 시간으로 정렬 const sortedP = plans.map(([n, s, p]) => { const [sh, sm] = s.split(":"); return [n, Number(sh)*60+Num..