Skip to content

[byteho0n] - Week 1 #639

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 2 commits into from
Dec 15, 2024
Merged

[byteho0n] - Week 1 #639

merged 2 commits into from
Dec 15, 2024

Conversation

ekgns33
Copy link
Contributor

@ekgns33 ekgns33 commented Dec 5, 2024

답안 제출 문제

체크 리스트

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

@ekgns33 ekgns33 self-assigned this Dec 5, 2024
@ekgns33 ekgns33 requested a review from a team as a code owner December 5, 2024 10:49
@github-actions github-actions bot added the java label Dec 5, 2024
@ekgns33 ekgns33 requested a review from ysle0 December 5, 2024 10:49
Comment on lines +59 to +72
while(left <= right) {
leftC = s.charAt(left);
rightC = s.charAt(right);
if(!Character.isLetterOrDigit(leftC)) {
left++;
} else if (!Character.isLetterOrDigit(rightC)) {
right--;
} else if (Character.toLowerCase(leftC) != Character.toLowerCase(rightC)) {
return false;
} else {
left++;
right--;
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

투포인터 활용으로 시간 복잡도의 효율을 높이고, 자바 Charater의 기본 메소드를 사용해서 이해하기 쉬운 코드인것 같아요 :)

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.

@ekgns33 님 첫주차 고생 많으셨습니다~
풀이와 복잡도 분석까지 모두 작성해주셔서 정말 좋네요!!
앞으로도 좋은 풀이 잘 부탁드립니다!

@HC-kang HC-kang merged commit b3917f5 into DaleStudy:main Dec 15, 2024
3 checks 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