[jamiebase] WEEK 11 Solutions#2601
Open
jamiebase wants to merge 2 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
🏷️ 알고리즘 패턴 분석
- 패턴: Two Pointers
- 설명: 이 코드는 정렬된 배열에서 두 포인터를 이용해 겹치는 구간을 병합하는 방식으로, 두 포인터 패턴에 속합니다. 범위 비교와 병합을 위해 포인터를 이동하며 효율적으로 처리합니다.
📊 시간/공간 복잡도 분석
| 복잡도 | |
|---|---|
| Time | O(N log N) |
| Space | O(N) |
피드백: 배열 정렬 후 한 번의 순회로 병합 범위를 계산하므로 정렬이 가장 큰 시간 복잡도를 차지하며, 병합 결과를 저장하는 공간이 필요합니다.
개선 제안: 현재 구현이 적절해 보입니다.
💡 풀이에 시간/공간 복잡도를 주석으로 남겨보세요!
Contributor
There was a problem hiding this comment.
🏷️ 알고리즘 패턴 분석
- 패턴: Hash Map / Hash Set
- 설명: 이 코드는 집합을 이용해 존재 여부를 빠르게 확인하는 방식으로, 해시 맵 또는 해시 세트를 활용하는 패턴에 속합니다. 이를 통해 특정 값의 존재 여부를 효율적으로 검증합니다.
📊 시간/공간 복잡도 분석
| 복잡도 | |
|---|---|
| Time | O(n) |
| Space | O(n) |
피드백: 집합을 생성하는 데 O(n) 시간과 공간이 들며, 이후 순회로 빠르게 없는 숫자를 찾습니다.
개선 제안: 현재 구현이 적절해 보입니다.
💡 풀이에 시간/공간 복잡도를 주석으로 남겨보세요!
Contributor
📊 jamiebase 님의 학습 현황이번 주 제출 문제
누적 학습 요약
문제 풀이 현황
🤖 이 댓글은 GitHub App을 통해 자동으로 작성되었습니다. 🔢 API 사용량 (gpt-4.1-nano)
|
hwi-middle
approved these changes
May 16, 2026
Contributor
hwi-middle
left a comment
There was a problem hiding this comment.
깔끔하네요! 이번 주도 수고하셨습니다 ^^
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
답안 제출 문제
작성자 체크 리스트
In Review로 설정해주세요.검토자 체크 리스트
Important
본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!