| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 주니어 백엔드 개발자
- 이분탐색
- 2026 하반기 대기업 반드시 갑니다
- java #추상클래스
- java #예외처리 #throw #throws
- 넥슨개발자컨퍼런스
- tmax tibero
- 나는야 4학년 #5학년 까지 가보자구
- server developer
- 25304번
- Spring
- heap area #stack area #static area #jvm
- 올 겨울은 조금 따뜻할 것 같다.
- server engineer
- object 클래스 # java
- 정보처리기사 실기 #정처기 실기 #2024년 2회 #정처기 2024년 2회 #공부법 # 꿀팁
- AWS
- 자바 #자바문법 #자바기초 #참조형 #기본형
- 반복문
- level2
- level3
- tibero 7.23
- 백엔드 개발자 로드맵
- 서버 엔지니어
- ndc2025
- static #자바 메모리 구조 #멤버 변수
- 서버 개발자
- Next.js
- aws SAA-c03
- software enginner
- Today
- Total
목록Problem Solving (56)
개발자 쿠키
기능개발https://school.programmers.co.kr/learn/courses/30/lessons/42586def solution(progresses, speeds): answer = [] for i in range(len(progresses)): days = (100 - progresses[i] + speeds[i] - 1) // speeds[i] answer.append(days) stack = [] score = answer[0] count = 1 for i in range(1, len(answer)): if score >= answer[i]: count += 1 ..
백준 15650 N과 M (2) 풀이 1 (’ ‘.join(map(str, j)))from itertools import combinationsn, m = map(int, input().split())numbers = [i for i in range(1, n+1)]for j in combinations(numbers, m): print(' '.join(map(str, j))) (2, 4) 이런식으로 출력되는데 map함수와 join 함수를 써서 출력하면 2 4 이렇게 출력된다. 풀이 2 print(*number)from itertools import combinationsn, m = map(int, input().split())numbers = [i for i in range(1, n+1)]f..
https://school.programmers.co.kr/learn/courses/30/lessons/64065 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr def solution(s): s = s[2:-2].split("},{") arr = [] for i in range(len(s)): s1 = s[i].split(",") arr.append(set(s1)) arr.sort(key=lambda x: len(x)) ans = set() res = [] for a in a..
할인 행사https://school.programmers.co.kr/learn/courses/30/lessons/131127?language=python3 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr from collections import Counterdef solution(want, number, discount): answer = 0 dic = {} for w, n in zip(want, number): dic[w] = n for i in range(len(discount)): if dic == ..
https://school.programmers.co.kr/learn/courses/30/lessons/42883 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr 1차 풀이combination을 활용해 전체-k에 해당하는 수만 join하여 가장 큰 수를 출력하는 방식으로 풀었지만, 시간초과가 발생했습니다.2차 풀이def solution(number, k): stack = [] for num in number: while k > 0 and stack and stack[-1] 구글링 후, stack을 활용하여 풀어야 한다는 것..
땅따먹기https://school.programmers.co.kr/learn/courses/30/lessons/12913 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr def solution(land): dp = land for i in range(1, len(land)): for j in range(4): dp[i][j] += max(dp[i-1][:j] + dp[i-1][j+1:]) return max(dp[len(dp)-1])풀이land[i][j] + 그 위 줄의 j열을 빼고 반든 리스트에서 max..