일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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. 1
- group by
- level 3
- 다이나믹프로그래밍
- javascript
- SQL 고득점 KIT
- programmers
- 자바스크립트
- 스택
- 타입스크립트
- Typescript
- bfs
- level3
- 소프티어
- dfs
- Lv. 2
- Python
- Dynamic Programming
- DP
- 프로그래머스
- C언어
- 문자열
- Lv. 3
- softeer
- 파이썬
- Stack
- Java
- Lv. 0
- 브루트포스
- Today
- Total
목록해시 (3)
몸과 마음이 건전한 SW 개발자
문제 링크 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/42576 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 1 function solution(participant, completion) { let answer = ""; const pDict = {}; for (const p of participant) { const isValid = pDict[p]; if (isValid) { pDict[p] += 1; } else { pDict[p] = 1; }; }; for (const cp..
문제 링크 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..