Skip to content

Conversation

jdy8739
Copy link
Contributor

@jdy8739 jdy8739 commented Dec 14, 2024

답안 제출 문제

체크 리스트

  • 우측 메뉴에서 PR을 Projects에 추가해주세요.
  • Projects의 오른쪽 버튼(▼)을 눌러 확장한 뒤, Week를 현재 주차로 설정해주세요.
  • 바로 앞에 PR을 열어주신 분을 코드 검토자로 지정해주세요.
  • 문제를 모두 푸시면 프로젝트에서 StatusIn Review로 설정해주세요.
  • 코드 검토자 1분 이상으로부터 승인을 받으셨다면 PR을 병합해주세요.

@jdy8739 jdy8739 requested a review from a team as a code owner December 14, 2024 15:42
@github-actions github-actions bot added the js label Dec 14, 2024
@jdy8739 jdy8739 closed this Dec 14, 2024
@jdy8739 jdy8739 reopened this Dec 14, 2024
@HC-kang
Copy link
Contributor

HC-kang commented Dec 15, 2024

@jdy8739 님 안녕하세요, 벌써 2주차 제출을 해주셨네요!

다만 저희 스터디는 주차별로 정해진 풀이 커리큘럼을 따르고 있습니다.
또한 많은 멤버분들께서 참여하시는 만큼 PR 작성에도 정해진 규격을 도입하고 있어요
PR 작성법은 여기를 참고 해 주시면 되겠고, 다른 분들과의 원활한 교류 및 스터디 진행을 위해 꼭 확인 부탁드려요!

@jdy8739 jdy8739 requested a review from rivkode December 15, 2024 14:47
Copy link
Contributor

@HC-kang HC-kang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jdy8739 님 고생하셨습니다!
아직 풀지않으신 두 문제도 제출해주실 것 같아서, 우선은 코멘트만 남기고 가겠습니다!
2주차 남은 시간도 응원하겠습니다! 💪

Copy link
Member

@rivkode rivkode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2주차 수고하셨습니다 ~!!

Comment on lines +26 to +28
// 아래 반복문으로 중복 숫자 필터
while (l < h && sorted[l] === sorted[l + 1]) l++;
while (l < h && sorted[h] === sorted[h - 1]) h--;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

중복을 제거하기 위해 set을 사용하지 않고 while로 사용하신 이유가 공간복잡도 때문이실까요 ?

@SamTheKorean SamTheKorean merged commit b93073d into DaleStudy:main Dec 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

4 participants