일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- level 3
- 백준
- Lv. 2
- Baekjoon
- LEVEL 2
- join
- Python
- 깊이 우선 탐색
- DP
- 프로그래머스
- 오블완
- 자바스크립트
- 동적계획법
- SQL
- SQL 고득점 KIT
- 파이썬
- dfs
- softeer
- programmers
- Dynamic Programming
- javascript
- bfs
- 너비 우선 탐색
- 소프티어
- group by
- Lv. 3
- Java
- Lv. 0
- 티스토리챌린지
- Lv. 1
- Today
- Total
목록알고리즘/풀었지만 다시 보기 (39)
몸과 마음이 건전한 SW 개발자
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/42893 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드def seperateString(string): tmp = "" stack = [] for s in string: if "a" ": balance -= 1 pageValues.append(value.split(" ")) else: value += p ..
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/131703 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드function solution(beginning, target) { let minV = 21; const n = beginning.length; const m = beginning[0].length; const selectedRows = []; const selectedCols = []; // 배열이 일치하는지 확인하는 함수 const ..
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/42897 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드function solution(money) { const lenM = money.length; let dp = Array(2).fill().map(() => Array(lenM).fill(0)); dp[0][0] = money[0]; dp[0][1] = Math.max(money[0], money[1]); dp[1][1] = money[1]; for (let idx = 2; idx ..