Skip to content

[lhc0506] WEEK 05 solutions #1395

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
May 4, 2025
Merged

[lhc0506] WEEK 05 solutions #1395

merged 5 commits into from
May 4, 2025

Conversation

lhc0506
Copy link
Contributor

@lhc0506 lhc0506 commented Apr 29, 2025

답안 제출 문제

작성자 체크 리스트

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

검토자 체크 리스트

Important

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

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

@lhc0506 lhc0506 moved this from Solving to In Review in 리트코드 스터디 4기 May 3, 2025
Copy link
Contributor

Choose a reason for hiding this comment

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

JSON.stringfy() 문법을 쓰시는 것도 좋지만, 면접관 입장에서는 내부 동작 방식을 설명하거나 내장 함수 사용 없이 풀어보라고 할 수도 있어서요! 내장함수 사용 없이 풀어보시면 또 다른 방법을 찾으실 수있을것 같아요 ㅎㅎ

Copy link
Contributor Author

Choose a reason for hiding this comment

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

각 문자 알파벳을 ASCII코드로 바꾸고 분리를 시키는것도 생각해봤긴했는데 다음엔 두개다 써보도록 하겠습니다. 감사합니다~

Copy link
Contributor

Choose a reason for hiding this comment

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

정렬 없이 문제 풀으신 분은 처음봤습니다;
이 경우 외부 for-loop 를 n, 내부 for-loop의 길이를 l로 분다면 시간 복잡도는 O(n * l) 이 되지 않을까요?
공간 복잡도도 같을것 같은데 의견 부탁드립니다!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

문자열 배열내 각 문자열 길이는 정해지지않았으니 평균을 l로 하면 O(n * l) 이 더 정확할 것 같습니다. 감사합니다!

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.

5주차 문제 풀이 고생하셨습니다.
문제들을 모두 풀어주시고 설명과 더불에 최적화된 접근 방법까지 제가 코드 리뷰를 드릴 만한 수준이 아니네요;;; 너무 멋지십니다.
6주차 문제 풀이도 파이팅입니다!

@lhc0506 lhc0506 merged commit 291bcfd into DaleStudy:main May 4, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from In Review to Completed in 리트코드 스터디 4기 May 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

2 participants