일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- SQL
- SQL 고득점 KIT
- 소프티어
- 동적계획법
- level 3
- Lv. 0
- programmers
- DP
- bfs
- Dynamic Programming
- Lv. 2
- group by
- 오블완
- Baekjoon
- 파이썬
- Java
- 너비 우선 탐색
- 티스토리챌린지
- softeer
- 백준
- dfs
- join
- Python
- LEVEL 2
- Lv. 3
- javascript
- Today
- Total
목록programmers (315)
몸과 마음이 건전한 SW 개발자
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/181938 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 function solution(a, b) { const answer = +(a.toString() + b.toString()) >= 2 * a * b ? +(a.toString() + b.toString()) : 2 * a * b; return answer; }
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/181939 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 function solution(a, b) { const answer = Number(String(a) + String(b)) >= Number(String(b) + String(a)) ? Number(String(a) + String(b)) : Number(String(b) + String(a)); return answer; } 풀이 방법 Number와 String을 사용..
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/181940 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드1 function solution(my_string, k) { const lenMyString = my_string.length; const answer = my_string.padEnd(lenMyString*k, my_string) return answer; } 정답 코드2 function solution(my_string, k) { const lenMyString = m..
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/181942 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 function solution(str1, str2) { const answer = []; const lastIdx = str1.length; for (let idx = 0; idx < lastIdx; idx++) { answer.push(str1[idx]); answer.push(str2[idx]); }; return answer.join(""); }
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/72410 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 function solution(new_id) { // 문자열을 리스트로 만들기 // const arr = Array.from(new_id) // const arr = [...new_id] const arr = new_id.split("") // 1 단계 // e는 element : 요소 const first_step = arr.map((e) => { // toUpperCas..
문제 링크 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..