일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- softeer
- LEVEL 2
- 파이썬
- Dynamic Programming
- bfs
- 소프티어
- 너비 우선 탐색
- 백준
- SQL
- 오블완
- 동적계획법
- DP
- 깊이 우선 탐색
- 프로그래머스
- programmers
- 티스토리챌린지
- Java
- group by
- SQL 고득점 KIT
- 자바스크립트
- level 3
- dfs
- Lv. 2
- Lv. 1
- javascript
- Lv. 0
- Python
- Lv. 3
- join
- Baekjoon
- Today
- Total
목록programmers (315)
몸과 마음이 건전한 SW 개발자
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/258711?language=javascript 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드function solution(edges) { const n = 1000001; const answer = [0, 0, 0, 0]; // 정점, 도넛, 막대, 8자 const adjL = Array.from({length: n+1}, () => []); const visited = Array.from({length: n+1}..
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/250134 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드answer = 16def solution(maze): n = len(maze) m = len(maze[0]) dr = [-1, 1, 0, 0] dc = [0, 0, -1, 1] def isValid(nr, nc): return 0 answer: return # 둘 다 도달했으면 if bf..

문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/84021 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드function solution(game_board, table) { let answer = 0; // 체크 맵 let checkMap = new Map(); const setMap = (key) => { if (checkMap.has(key)) { checkMap.set(key, checkMap.get(key)+1); ..
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/340211 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드function solution(points, routes) { let visited = new Map();; const isCrushed = (sr, sc, cnt) => { const locKey = `${sr},${sc},${cnt}`; if (visited.has(locKey)) { visited.set(locKey, v..
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/340212?language=python3 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드def solution(diffs, times, limit): lenDT = len(diffs) # 이분 탐색 minLev = 1 maxLev = 100000 while minLev limit: break diff = diffs[i] time = tim..
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/340213?language=javascript 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드function solution(video_len, pos, op_start, op_end, commands) { const getTime = (time) => { const [hh, mm] = time.split(":"); return hh * 60 + mm * 1; } const video_end = g..