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
- dp
- boj 6443
- the maximum subarray
- c++
- ice cream parlor
- making anagrams
- pcce 기출문제 풀이
- boj 1074
- pccp 기출문제 풀이
- 2025 프로그래머스 코딩챌린지 1차예선
- find the running median
- lock based queue
- boj 1717
- 브루트포스
- count triplets
- 지게차와 크레인
- 비밀 코드 해독
- two characters
- DirectX
- DirectX12
- boj 11657
- PCCE
- the longest increasing subsequence
- lock based stack
- find the town judge
- special string again
- 프로그래밍공부
- LCS
- lock free stack
- string construction
Archives
- Today
- Total
목록2025/05/05 (1)
오구의코딩모험

코딩테스트 대비를 위해해커랭크에서 누적합 / 이분 탐색 / 힙 / 투 포인터 관련 알고리즘연습하기..! 1. The Maximum Subarray (Normal) 📌 문제 요약주어진 배열로 만들 수 있는 부분 배열 중연속적인 원소들의 최대 합과 단순 최대 합을 구하라. 구현 코드vector maxSubarray(vector arr) { vector answer; int addNum[100001]; fill(addNum, addNum+arr.size()+1, 0); addNum[0] = arr[0]; for(int i=1; i0) positive += num; if(positive == 0) positive = *max_element(arr.begin(), a..
프로그래밍 공부/해커랭크
2025. 5. 5. 23:05