일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 파이썬
- dfs
- dict
- level1
- 백준
- 프로그래머스
- 힙
- 다익스트라
- 브루트포스
- 재귀
- BOJ
- 수학
- level0
- N과M
- DP
- level2
- programmers
- 구현
- 스택
- level3
- 딕셔너리
- 가상메모리
- BFS
- 가상메모리 관리
- 그리디
- MYSQL
- python
- 다이나믹 프로그래밍
- 코딩테스트
- 운영체제
- Today
- Total
목록level0 (3)
동캄의 코딩도장
https://school.programmers.co.kr/learn/courses/30/lessons/120956 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr def solution(babbling): answer = 0 for babb in babbling: babb = list(map(str, babb)) i = 0 length = len(babb) while i < length: if babb[i] == 'a' and (i+2 < length) and babb[i+1] == 'y' and babb[i+2] == 'a': i += 3 elif ba..
https://school.programmers.co.kr/learn/courses/30/lessons/120871 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr #프로그래머스 저주의 숫자 3 def solution(n): answer = 0 num=1 while True: if not (num%3==0 or ('3' in str(num))): n-=1 if n==0: break num+=1 answer=num return answer 간단히 해결할 수 있는 문제이다. 숫자가 작아서 제일 쉬운 방법으로 해결하였다.
https://school.programmers.co.kr/learn/courses/30/lessons/120808 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr #프로그래머스 분수의 덧셈 def solution(numer1, denom1, numer2, denom2): lcm=LCM(denom1,denom2) snum=numer1*(lcm//denom1)+numer2*(lcm//denom2) gcd=GCD(snum,lcm) answer = [snum//gcd,lcm//gcd] return answer def GCD(x,y): while(y): x,y=y..