-
-
Notifications
You must be signed in to change notification settings - Fork 195
[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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JSON.stringfy()
문법을 쓰시는 것도 좋지만, 면접관 입장에서는 내부 동작 방식을 설명하거나 내장 함수 사용 없이 풀어보라고 할 수도 있어서요! 내장함수 사용 없이 풀어보시면 또 다른 방법을 찾으실 수있을것 같아요 ㅎㅎ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
각 문자 알파벳을 ASCII코드로 바꾸고 분리를 시키는것도 생각해봤긴했는데 다음엔 두개다 써보도록 하겠습니다. 감사합니다~
There was a problem hiding this comment.
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) 이 되지 않을까요?
공간 복잡도도 같을것 같은데 의견 부탁드립니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
문자열 배열내 각 문자열 길이는 정해지지않았으니 평균을 l로 하면 O(n * l) 이 더 정확할 것 같습니다. 감사합니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5주차 문제 풀이 고생하셨습니다.
문제들을 모두 풀어주시고 설명과 더불에 최적화된 접근 방법까지 제가 코드 리뷰를 드릴 만한 수준이 아니네요;;; 너무 멋지십니다.
6주차 문제 풀이도 파이팅입니다!
답안 제출 문제
작성자 체크 리스트
In Review
로 설정해주세요.검토자 체크 리스트
Important
본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!