-
Notifications
You must be signed in to change notification settings - Fork 126
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
[jdy8739] WEEK 02 #704
[jdy8739] WEEK 02 #704
Conversation
@jdy8739 님 안녕하세요, 벌써 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.
@jdy8739 님 고생하셨습니다!
아직 풀지않으신 두 문제도 제출해주실 것 같아서, 우선은 코멘트만 남기고 가겠습니다!
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.
2주차 수고하셨습니다 ~!!
// 아래 반복문으로 중복 숫자 필터 | ||
while (l < h && sorted[l] === sorted[l + 1]) l++; | ||
while (l < h && sorted[h] === sorted[h - 1]) h--; |
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.
중복을 제거하기 위해 set을 사용하지 않고 while로 사용하신 이유가 공간복잡도 때문이실까요 ?
답안 제출 문제
체크 리스트
In Review
로 설정해주세요.