feat: 2주차 - PG_42576 완주하지 못한 선수 [김동엽] #8
Merged
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.
📌 문제 링크
(문제 링크 또는 문제 캡처본을 첨부해주세요.)

프로그래머스 42576번 - 완주하지 못한 선수
📝 문제 개요
🧩 풀이 과정 요약
풀이 1: 정렬 후 비교
1.두 배열을 사전 순 정렬
2.앞에서부터 인덱스별로 비교
3.처음 불일치하는 사람 = 완주 못한 사람
4.모두 같으면 마지막 참가자가 미완주자
풀이 2: HashMap 활용 (이름별 인원 수)
😁 결과
(문제 해결 결과를 첨부해주세요.)
