Skip to content

[chrisjune] WEEK 02 Solutions #1769

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

chrisjune
Copy link
Contributor

답안 제출 문제

작성자 체크 리스트

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

검토자 체크 리스트

Important

본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!

  • 바로 이전에 올라온 PR에 본인을 코드 리뷰어로 추가해주세요.
  • 본인이 검토해야하는 PR의 답안 코드에 피드백을 주세요.
  • 토요일 전까지 PR을 병합할 수 있도록 승인해주세요.

@SamTheKorean
Copy link
Contributor

안녕하세요! pr 설명과 올린 파일이 다르네요! 1주차 문제를 여기에 올려주신 것 같아요!

@SamTheKorean SamTheKorean self-requested a review August 1, 2025 18:35
@SamTheKorean
Copy link
Contributor

1주차 풀이는 1주차 pr을 따로 만들어서 올려주시고 2주차 pr은 2주차 문제로 올려주시는게 어떨까요?

@chrisjune
Copy link
Contributor Author

1주차 풀이는 1주차 pr을 따로 만들어서 올려주시고 2주차 pr은 2주차 문제로 올려주시는게 어떨까요?

안녕하세요! 2주차 풀이가 커밋푸시가 안되었던것 같아요~!

Comment on lines +13 to +15
if f in seen:
triplet = [nums[i], nums[j], f]
triplets.add(tuple(sorted(triplet)))
Copy link
Contributor

Choose a reason for hiding this comment

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

크게 영향은 없지만 if문을 while 문으로 바꿀 수 있을것 같아요 :)

Copy link
Contributor

Choose a reason for hiding this comment

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

map대신 set을 사용하셔서 문제 풀이 해보시면 어떨까요 :)

Copy link
Contributor

Choose a reason for hiding this comment

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

시간 복잡도를 O(n) 으로 풀려면 어떻게 하면 될까요 :)

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.

1~2주차 문제 풀이 고생하셨습니다.
한번에 올려 주시느라 고생 많으셨을텐데 올려주신 문제들 풀이 진행 모두 잘 해주셨네요.
여유가 있으시다면 시간, 공간 복잡도 및 해당 문제에대한 의견도 추가해주시면 감사하겠습니다.
3주차 문제 풀이도 파이팅입니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Solving
Development

Successfully merging this pull request may close these issues.

3 participants