Merged
Conversation
oh-chaeyeon
approved these changes
Jan 27, 2025
Collaborator
oh-chaeyeon
left a comment
There was a problem hiding this comment.
이번주는 해시 관련 문제였는데, 신경써서 Map이랑 객체를 적절히 사용하려고 하신 점 좋았습니다👍🏻 다만, 불필요하게 반복문이나, 조건문이 있는 경우도 있는 것 같다는 생각이 들었습니다. 혹시 그리고 "완주하지 못한선수" 관련 코드파일이 빈파일이여서 의도하신걸까요..?
이번주도 수고하셨습니다!
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.
📌 푼 문제
모스부호(1)
A로B만들기
진료순서정하기
등수 매기기
완주하지 못한 선수
📝 간단한 풀이 과정
모스부호(1)
주어진 모스부호를 객체형태로 사용하고, 주어진 letter을 띄어쓰기 기준으로 나누어 순회하며 키값이 존재하면 값을 answer 에 더해줍니다.
A로 B 만들기
결국 문자열의 구성이 동일해야 변환이가능하다.
각 문자열의 구성요소를 Map으로 뽑아내 비교
진료순서 정하기
등수매기기
평균값으로 등수매기기
완주하지 못한 선수