Skip to content

[혜준] Week5 문제 풀이 #452

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
Sep 14, 2024
Merged

[혜준] Week5 문제 풀이 #452

merged 4 commits into from
Sep 14, 2024

Conversation

hyejjun
Copy link
Contributor

@hyejjun hyejjun commented Sep 11, 2024

답안 제출 문제

체크 리스트

  • PR을 프로젝트에 추가하고 Week를 현재 주차로 설정해주세요.
  • 바로 앞에 PR을 열어주신 분을 코드 검토자로 지정해주세요.
  • 문제를 모두 푸시면 프로젝트에서 Status를 In Review로 설정해주세요.
  • 코드 검토자 1분 이상으로부터 승인을 받으셨다면 PR을 병합해주세요.

@hyejjun hyejjun requested a review from TonyKim9401 September 11, 2024 03:18
@hyejjun hyejjun marked this pull request as ready for review September 11, 2024 03:18
@hyejjun hyejjun requested a review from a team as a code owner September 11, 2024 03:18
Comment on lines 26 to 29
/*
시간 복잡도: O(n*k log k)
공간 복잡도: O(n*k)
*/
Copy link
Member

@sounmind sounmind Sep 11, 2024

Choose a reason for hiding this comment

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

안녕하세요 혜준님!
시간, 공간 복잡도를 이야기할 때 n이나 k가 무엇을 가리키는지 명시하면 더 알고리즘을 이해하기 수월할 것 같아요.

Copy link
Contributor

Choose a reason for hiding this comment

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

오... 각 값을 정렬 후 각 key, value값으로 사용 하니 이렇게 간단히 풀리는군요.
Array.from() 도 처음보네요.
공부가 되었습니다 고생하셨습니다!

Comment on lines 26 to 29
/*
시간 복잡도: O(n*k log k)
공간 복잡도: O(n*k)
*/
Copy link
Contributor

Choose a reason for hiding this comment

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

오... 각 값을 정렬 후 각 key, value값으로 사용 하니 이렇게 간단히 풀리는군요.
Array.from() 도 처음보네요.
공부가 되었습니다 고생하셨습니다!

@hyejjun hyejjun merged commit 0e98b10 into DaleStudy:main Sep 14, 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.

3 participants