Skip to content

[gmlwls96] week9 #987

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

Merged
merged 4 commits into from
Feb 9, 2025
Merged

[gmlwls96] week9 #987

merged 4 commits into from
Feb 9, 2025

Conversation

gmlwls96
Copy link
Contributor

@gmlwls96 gmlwls96 commented Feb 3, 2025

답안 제출 문제

체크 리스트

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

@gmlwls96 gmlwls96 requested a review from Jeehay28 February 3, 2025 14:00
@gmlwls96 gmlwls96 requested a review from a team as a code owner February 3, 2025 14:00
@github-actions github-actions bot added the kotlin label Feb 3, 2025
Comment on lines +10 to +20
when{
nums[mid-1] > nums[mid] -> {
return nums[mid]
}
nums[0] < nums[mid] -> {
left = mid + 1
}
else -> {
right = mid -1
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

조금만 더 생각해 보시면 3개의 조건이 아닌 2가지 조건으로도 가능할 거에요 :)

Copy link
Contributor

Choose a reason for hiding this comment

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

set을 사용하여 중복검사를 통해 문제 풀어주셨네요 :)
해당 문제는 LinkedList 의 특성을 살려서 푸는게 키포인트라 생각됩니다.
set을 사용하지 않고 풀려면 어떻게 하면 좋을지 한번 도전해보시면 좋을것 같습니다!

Copy link
Contributor

Choose a reason for hiding this comment

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

오.........사실 해당 문제는 binary search와 sliding window를 사용하여 푸는 문제인데요, 로직 구현에 상당히 공을 들이셨을것 같습니다. 고생하셨습니다!

Copy link
Contributor

@TonyKim9401 TonyKim9401 left a comment

Choose a reason for hiding this comment

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

9주차 문제 풀이 고생 많으셨습니다!
문제들 풀이에 고생을 많이 하신게 느껴지는 리뷰였습니다.
10주차 문제 풀이도 파이팅입니다!!

@SamTheKorean SamTheKorean merged commit 828d6db into DaleStudy:main Feb 9, 2025
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.

3 participants