일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 오블완
- Dynamic Programming
- Python
- Lv. 2
- bfs
- softeer
- join
- 너비 우선 탐색
- level 3
- SQL
- group by
- SQL 고득점 KIT
- 백준
- LEVEL 2
- 자바스크립트
- dfs
- 파이썬
- 동적계획법
- 소프티어
- 티스토리챌린지
- DP
- programmers
- javascript
- Lv. 1
- Java
- Baekjoon
- Lv. 3
- Lv. 0
- 깊이 우선 탐색
- 프로그래머스
- Today
- Total
목록programmers (315)
몸과 마음이 건전한 SW 개발자
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/12921?language=python3 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드def solution(n): if n 풀이 방법sieve 리스트 초기화:처음에 모든 숫자를 소수로 가정하고 True로 초기화한다.0과 1은 소수가 아니므로 False로 설정한다.소수 판별 및 배수 제거:2부터 시작해서 소수로 판별된 숫자의 배수를 False로 설정한다.이 과정을 숫자의 제곱근까지 반복한다.결과 반환:소수로 남아 있는 숫자들의 개수를..
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/12926?language=python3 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드def solution(s, n): # print(ord("A")) 65 # print(ord("Z")) 90 # print(ord("a")) 97 # print(ord("z")) 122 def makeString(si): if si == " ": return " " elif si.i..
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/86053?language=python3 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드def solution(a, b, g, s, w, t): answer = 4 * 10 ** 14 left = 0 right = 4 * 10 ** 14 lenT = len(t) abAll = a + b while left = currentT: count += 1 totalWeig..
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/258707 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드function solution(coin, cards) { const n = cards.length; const cardSum = n + 1; const myCards = cards.slice(0, n/3); const deck = cards.slice(n/3); const coinCards = []; // [1] 내 손에 있는 카드 중에서 확..
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/340210 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드def isValid(number, notation): for n in number: if int(n) >= notation: return False return True def changeNotation(number, notation): newNumber = "" while number > 0: newNumber ..
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/136797?language=javascript 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드function solution(numbers) { const dictLocations = { "0": [3, 1], "1": [0, 0], "2": [0, 1], "3": [0, 2], "4": [1, 0], "5": [1, 1], "6": [1, 2], "7": [2, 0], "8": [2, 1], "9": [2,..