Skip to content
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

[SunaDu] Week 6 #901

Merged
merged 5 commits into from
Jan 18, 2025
Merged

[SunaDu] Week 6 #901

merged 5 commits into from
Jan 18, 2025

Conversation

dusunax
Copy link
Member

@dusunax dusunax commented Jan 14, 2025

답안 제출 문제

체크 리스트

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

@dusunax dusunax self-assigned this Jan 14, 2025
@dusunax dusunax requested a review from a team as a code owner January 14, 2025 06:56
@github-actions github-actions bot added the py label Jan 14, 2025
Comment on lines +28 to +32
parentheses_map = { # SC: O(1)
"(": ")",
"{": "}",
"[": "]"
}
Copy link
Contributor

Choose a reason for hiding this comment

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

map 을 사용하지 않고 푸는 방법도 도전해도시면 재미있을것 같아요 :)

Comment on lines +46 to +58
def bisectLeft(self, list, target) -> int:
low = 0
high = len(list) - 1

while low <= high :
mid = int(low + (high - low) / 2)

if list[mid] < target:
low = mid + 1
else:
high = mid - 1

return low
Copy link
Contributor

Choose a reason for hiding this comment

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

bisectLeft 를 따로 함수로 빼셔서 각 함수들의 목적이 명확해 진 것 같아 넘 좋은것 같아요!

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.

6주차 문제 풀이 고생 많으셨습니다.
선아님 풀이 볼 때 마다 파이썬이 하고싶어지네요 ㅎㅎ
절반 정도의 기간 동안 고생 많으셨고 남은 8주도 파이팅입니다!

@dusunax dusunax merged commit cc7d2dd into DaleStudy:main Jan 18, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

2 participants