Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- greedy
- BFS
- 문제해결
- 문제풀이
- 문자열
- priorityqueue
- 투포인터
- oracle
- 시뮬레이션
- 운동기록
- 러닝일지
- DP
- 건강
- binary search
- SWEA
- COS PRO
- SQL
- 이분탐색
- BOJ
- 알고리즘
- 프로그래머스
- math
- 코딩테스트
- dfs
- Java
- 백준
- MySQL
- 자바
- 코테
- db
Archives
- Today
- Total
목록2025/10/18 (1)
슈콩
[프로그래머스] Lv.2 연속된 부분 수열의 합
[문제]https://school.programmers.co.kr/learn/courses/30/lessons/178870 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr [소스 코드]class Solution { public int[] solution(int[] sequence, int k) { int n = sequence.length; int start = 0; long sum = 0; int minLen = Integer.MAX_VALUE; int[] answer = new int[2]; for(int end=0;endk &..
Algorithms/Programmers
2025. 10. 18. 00:20