Skip to content

[SunaDu] Week 14 #1099

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 5 commits into from
Mar 15, 2025
Merged

[SunaDu] Week 14 #1099

merged 5 commits into from
Mar 15, 2025

Conversation

dusunax
Copy link
Member

@dusunax dusunax commented Mar 12, 2025

답안 제출 문제

체크 리스트

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

@dusunax dusunax requested a review from a team as a code owner March 12, 2025 08:54
@dusunax dusunax changed the title add solution: counting-bits [SunaDu] Week 14 Mar 12, 2025
@github-actions github-actions bot added the py label Mar 12, 2025
@dusunax dusunax requested a review from gwbaik9717 March 12, 2025 08:55
Copy link
Contributor

@gwbaik9717 gwbaik9717 left a comment

Choose a reason for hiding this comment

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

아직 풀이 중이시지만, 다양한 풀이 방식, 깔끔하고 이해하기 쉬운 주석... 그리고 무엇보다 제가 풀면서 바라보지 못했던 관점들을 학습할 수 있어 매우 유익했습니다. 대단하시네요!

queue = deque([root]) # SC: O(n)

while queue: # TC: O(n)
level_size = len(queue)
Copy link
Contributor

Choose a reason for hiding this comment

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

오 같은 레벨을 이런 식으로 관리할 수도 있군요! 하나 배워 갑니다.

return nums[0]

def robbing(start, end):
prev, maxAmount = 0, 0
Copy link
Contributor

Choose a reason for hiding this comment

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

오 이런식으로 공간 최적화도 할 수 있군요!

Copy link
Member Author

@dusunax dusunax Mar 15, 2025

Choose a reason for hiding this comment

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

문제를 풀거나 막힌 뒤에 알고달레 풀이와 Leetcode Solutions 탭을 보면서 정리하는 과정이 도움이 많이 되었어요. 공간 최적화도 이 방법으로 진행했습니다!

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.

14주차 문제 풀이 고생하셨습니다!
어느덧 15주차 마지막주가 다가왔네요.
아무쪼록 지난 15주 동안 릿코드 스터디가 많은 도움이 되셨으면 좋겠습니다.
다음주에 뵙겠습니다!

@dusunax
Copy link
Member Author

dusunax commented Mar 15, 2025

아직 풀이 중이시지만, 다양한 풀이 방식, 깔끔하고 이해하기 쉬운 주석... 그리고 무엇보다 제가 풀면서 바라보지 못했던 관점들을 학습할 수 있어 매우 유익했습니다. 대단하시네요!

리뷰 감사합니다😊

@gwbaik9717 님의 풀이를 보면서 보조 클래스를 활용해 구성하신 점이 인상적이었습니다. 저는 최근에 파이썬으로 문제를 풀면서 내장 함수 & 라이브러리 함수를 활용하다보니, 기본적인 동작 원리에 대한 고민이 부족했던 것 같다는 생각이 드네요. 마지막 주도 화이팅입니다!

@dusunax dusunax moved this from Solving to In Review in 리트코드 스터디 3기 Mar 15, 2025
@dusunax dusunax merged commit 1204757 into DaleStudy:main Mar 15, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from In Review to Completed in 리트코드 스터디 3기 Mar 15, 2025
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