일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Lv. 3
- 자바스크립트
- Lv. 2
- level3
- 스택
- Lv. 0
- Python
- 메모이제이션
- Java
- Lv. 1
- 깊이 우선 탐색
- bfs
- programmers
- 다이나믹프로그래밍
- 프로그래머스
- 문자열
- level 3
- 브루트포스
- Stack
- 소프티어
- 파이썬
- softeer
- javascript
- dfs
- Dynamic Programming
- SQL 고득점 KIT
- group by
- 너비 우선 탐색
- DP
- C언어
- Today
- Total
목록Lv. 2 (98)
몸과 마음이 건전한 SW 개발자
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/42747 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 function solution(citations) { let answer = 0; const totalCnts = citations.length; const sortCitations = citations.sort((a, b) => b - a); for (let idx = 0; idx < totalCnts; idx++) { if (idx < citations[idx]) { a..
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/42578 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 function solution(clothes) { const clothesDict = {} clothes.forEach(([clothesName, clothesType]) => { if (clothesDict[clothesType] !== undefined) { clothesDict[clothesType].push(clothesName) } else { clothesDict..
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/42577 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 function solution(phone_book) { const pbDict = {}; for (const pn of phone_book) { pbDict[pn] = 1 } let answer = true; for (const pn of phone_book) { let isValid = true; const lenPn = pn.length; const currentList..
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/12946 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 function solution(n) { const answer = []; const hanoiT = (number, fromT, toT, assistT) => { if (number == 1) { answer.push([fromT, toT]) return } hanoiT(number-1, fromT, assistT, toT) answer.push([fromT, toT]) h..
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/84512 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 cnt = 0 answer = 0 def solution(word): def dictSearch(length, string): global cnt, answer if length: if word == string: answer = cnt if length == 5: return for alpha in ["A", "E", "I", "O", "U"]: cnt += 1 dictSe..
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/144853 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 SELECT A.PRODUCT_CODE, SUM(A.PRICE * B.SALES_AMOUNT) AS SALES FROM PRODUCT AS A JOIN OFFLINE_SALE AS B ON A.PRODUCT_ID = B.PRODUCT_ID GROUP BY A.PRODUCT_CODE ORDER BY SALES DESC, A.PRODUCT_CODE; Key Point INNER..