| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 시뮬레이션
- 투포인터
- DP
- 운동기록
- 이분탐색
- SQL
- Java
- 문제해결
- BFS
- COS PRO
- SWEA
- 백준
- MySQL
- binary search
- 코딩테스트
- oracle
- 건강
- db
- BOJ
- 러닝일지
- priorityqueue
- 자바
- 문제풀이
- 코테
- 문자열
- greedy
- 알고리즘
- math
- dfs
- 프로그래머스
- Today
- Total
목록2025/10/16 (11)
슈콩
[문제]https://school.programmers.co.kr/learn/courses/30/lessons/154538 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr [소스 코드]import java.util.*;class Solution { public int solution(int x, int y, int n) { int answer = 0; boolean[] visit = new boolean[y+1]; Queue q = new LinkedList(); visit[x] = true; q.offer(new int[]{x,0}); ..
[문제]https://school.programmers.co.kr/learn/courses/30/lessons/49993 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr [소스 코드]class Solution { public int solution(String skill, String[] skill_trees) { int answer = 0; for(String tree : skill_trees){ String filter = ""; for(char c : tree.toCharArray()){ String s = S..
[문제]https://school.programmers.co.kr/learn/courses/30/lessons/131704 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr [소스 코드]import java.util.*;class Solution { public int solution(int[] order) { int answer = 0; int n = order.length; int idx = 0; Stack stack = new Stack(); for(int i=1;i
[문제]https://school.programmers.co.kr/learn/courses/30/lessons/12913#qna 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr [소스 코드]class Solution { int solution(int[][] land) { int answer = 0; int n = land.length; for(int i=1;i
[문제]https://school.programmers.co.kr/learn/courses/30/lessons/42584 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr [소스 코드]class Solution { public int[] solution(int[] prices) { int[] answer = new int[prices.length]; for(int i=0;i
[문제]https://school.programmers.co.kr/learn/courses/30/lessons/42626 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr [소스 코드]import java.util.*;class Solution { public int solution(int[] scoville, int K) { int answer = 0; PriorityQueue pq = new PriorityQueue(); for(int s : scoville) pq.offer(s); while(pq.size()>1 && pq.peek()
[문제]https://school.programmers.co.kr/learn/courses/30/lessons/17687#qna 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr [소스 코드]class Solution { public String solution(int n, int t, int m, int p) { String answer = ""; int num = 0; int order = 1; int cnt = 0; while(cnt
[문제]https://school.programmers.co.kr/learn/courses/30/lessons/92335#qna 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr [소스 코드]import java.util.*;class Solution { public int solution(int n, int k) { int answer = 0; String nums = Integer.toString(n,k); for(String num : nums.split("0")){ if("".equals(num)) continue; if(p..
[문제]https://school.programmers.co.kr/learn/courses/30/lessons/154539 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr [소스 코드]import java.util.*;class Solution { public int[] solution(int[] numbers) { Stack stack = new Stack(); int n = numbers.length; int[] answer = new int[n]; for(int i=n-1;i>=0;i--){ int target = numbers[i..
[문제]https://school.programmers.co.kr/learn/courses/30/lessons/84512 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr [소스 코드]import java.util.*;class Solution { List list; String[] w = {"A","E","I","O","U"}; public int solution(String word) { int answer = 0; list = new ArrayList(); for(int i=1;i