일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- level 3
- Baekjoon
- 파이썬
- group by
- 깊이 우선 탐색
- javascript
- programmers
- SQL
- 소프티어
- Lv. 1
- DP
- dfs
- Java
- 프로그래머스
- 티스토리챌린지
- 백준
- softeer
- Lv. 2
- bfs
- Python
- SQL 고득점 KIT
- 자바스크립트
- 동적계획법
- 오블완
- 너비 우선 탐색
- join
- LEVEL 2
- Lv. 0
- Lv. 3
- Dynamic Programming
- Today
- Total
목록javascript (157)
몸과 마음이 건전한 SW 개발자
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/60063 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드function solution(board) { let answer = 0; const n = board.length; const [er, ec] = [n-1, n-1]; const dr = [-1, 1, 0, 0]; const dc = [0, 0, -1, 1]; const isValid = (nr, nc) => { retur..
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/118669?language=javascript 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드function solution(n, paths, gates, summits) { let minP = 50001; // 최소 강도로 도달할 수 있는 정상 번호 초기화 let minV = 10000001; // 최소 강도 초기화 // 정상과 게이트를 쉽게 확인하기 위한 딕셔너리 생성 const dictSG = {}; ..

문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/150367?language=javascript# 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드function solution(numbers) { const answer = []; const ranges = new Array(51).fill().map((_, i) => 2**i - 1); const adjustOne = (binary) => { const lenB = binary.length; ..
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/60062 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드function solution(n, weak, dist) { const lenD = dist.length; const lenW = weak.length; let answer = lenD + 1; // 최악의 경우 lenD 이상의 값으로 초기화 // 모든 친구의 순열 생성 function generatePermutations(arr) { ..
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/72414?language=javascript 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드function solution(play_time, adv_time, logs) { function calTime(time) { const [hours, minutes, seconds] = time.split(":"); return parseInt(hours * 3600 + minutes * 60 + seconds * ..
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/42892?language=javascript 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드class Node { constructor(number, x, y) { this.number = number; this.x = x; this.y = y; this.left = null; this.right = null; } insert(node) { if (..