Skip to content

Conversation

jdalma
Copy link
Member

@jdalma jdalma commented Sep 30, 2024

답안 제출 문제

체크 리스트

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

@jdalma jdalma marked this pull request as ready for review October 4, 2024 13:35
@jdalma jdalma requested a review from a team as a code owner October 4, 2024 13:35
Copy link
Contributor

@HC-kang HC-kang left a comment

Choose a reason for hiding this comment

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

이번 한주도 고생 많으셨습니다 @jdalma 님!

}

val maxCount = counter.values.maxOrNull() ?: 0
if ((end - start + 1) - maxCount <= k) {
Copy link
Contributor

Choose a reason for hiding this comment

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

동일한 개념의 수를 괄호로 한번 감싸주시니 가독성이 좋네요!

@jdalma jdalma merged commit 8fdb7bc into DaleStudy:main Oct 5, 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.

2 participants