일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- bfs
- Lv. 1
- softeer
- 깊이 우선 탐색
- SQL 고득점 KIT
- Python
- DP
- C언어
- Dynamic Programming
- programmers
- dfs
- 브루트포스
- level3
- Lv. 0
- Java
- Lv. 3
- 너비 우선 탐색
- 파이썬
- group by
- 소프티어
- javascript
- 다이나믹프로그래밍
- level 3
- 문자열
- 프로그래머스
- Stack
- Lv. 2
- 메모이제이션
- 자바스크립트
- 스택
- Today
- Total
목록2024/03/07 (4)
몸과 마음이 건전한 SW 개발자
문제 링크 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..
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/181899 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 1 const solution = (start, end) => Array(start-end+1).fill(start).map((v,i)=>v-i); 정답 코드 2 function solution(start, end_num) { const answer = []; for (let s = start; s >= end_num; s--) { answer.push(s); } retur..
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/181902 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 function solution(my_string) { const answer = Array(52).fill(0); // console.log("A".charCodeAt()) // 65 // const p1 = String.fromCharCode(65, 66, 67) // ABC // console.log("A".codePointAt()) // 65 // console.lo..