Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What is this pr
문제 리스트
고민
두 배열의 합
문제
요약
풀이
a배열[타겟 값 - 누적합]
을 구한다면, 답을 이끌어낼 수 있다.Keep: 누적합을 처음 시도했으며 다음엔 적용할 수 있어야 한다, 배열을 둘로 나눠푸는 접근법, 이진탐색 고려
소수의 연속합
문제
요약
Keep: 누적합을 적용했으며 정석적이지 않은 문제도 도전해야한다.
부분수열의 합 2
문제
요약
Keep: 누적합을 응용했으며 실전에서 맞아야 한다. 비트마스킹을 활용했다.
카드게임
문제
요약
Keep: 이진탐색의 lower bound, upper bound 개념이 있다는걸 처음 알았다. union find를 처음 활용했지만 어렵지 않았다. 바로 실전에 적용해도 될 것 같다
엣지 케이스