일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- DP
- 깊이 우선 탐색
- 백준
- 너비 우선 탐색
- Lv. 2
- 티스토리챌린지
- javascript
- 자바스크립트
- LEVEL 2
- softeer
- 동적계획법
- Lv. 0
- level 3
- Baekjoon
- dfs
- group by
- SQL 고득점 KIT
- Dynamic Programming
- join
- bfs
- Lv. 1
- 파이썬
- 프로그래머스
- Java
- Python
- 오블완
- programmers
- SQL
- 소프티어
- Lv. 3
- Today
- Total
목록Python (145)
몸과 마음이 건전한 SW 개발자
문제 링크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/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/72415 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드from collections import dequedef solution(board, r, c): minLength = [10000] # 방향 탐색 dr = [-1, 1, 0, 0] dc = [0, 0, -1, 1] def isValid(nr, nc): return 0 bc: for nc in range(ac-1, ..
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/133500?language=python3 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드import syssys.setrecursionlimit(10**6)def solution(n, lighthouse): adjL = [[] for _ in range(n+1)] dp = [0 for _ in range(n+1)] visited = [0 for _ in range(n+1)] def dfs(current, par..
문제 링크https://school.programmers.co.kr/learn/courses/30/lessons/42893 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr정답 코드def seperateString(string): tmp = "" stack = [] for s in string: if "a" ": balance -= 1 pageValues.append(value.split(" ")) else: value += p ..