-
-
Notifications
You must be signed in to change notification settings - Fork 195
[krokerdile] WEEK 01 Solutions #1150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- forEach를 사용하지 않고 for of문을 사용하여 반복문을 돌리는 중간에 2회 이상 추가시 종료되도록
안녕하세요, 한주 동안 고생 많으셨습니다. 각 풀이에 대해 시간복잡도와 공간복잡도를 계산해 보시면 도움이 될 것 같습니다. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dict.set(num, (dict.get(num) || 0) + 1);
이렇게 줄여서 써보시면 어떠실까요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
좋은 코멘트 감사합니다. 위의 코멘트도 고려해서 한번 해보겠습니다!
답안 제출 문제
작성자 체크 리스트
In Review
로 설정해주세요.검토자 체크 리스트
Important
본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!