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.
✅ Week03 문제 풀이
2750 수 정렬하기
• 기본 정렬 문제 → list.sort() 사용
1181 단어 정렬
• 중복 제거: set() 사용 후 sorted
• 정렬 기준: key=lambda x: (len(x), x) (길이 → 사전순)
1920 수 찾기
• 정렬 후 이분 탐색 직접 구현 (bin_search)
• pl, pr, pc 포인터 관리
• 존재 여부만 확인 → 1 또는 0 출력
10816 숫자 카드 2
• 정렬 후 이분 탐색 (내장 모듈 bisect 활용)
• bisect_left, bisect_right로 구간 찾기
• 개수 = right - left
• 결과를 공백 구분으로 한 줄 출력