-
-
Notifications
You must be signed in to change notification settings - Fork 305
[radiantchoi] WEEK 07 Solutions #2225
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
base: main
Are you sure you want to change the base?
Conversation
|
@DaleStudy 리뷰해줘 |
|
전체적으로 다양한 문제에 대한 깔끔한 해결책들이 포함되어 있으며, 코드 가독성과 주석도 잘 작성되어 있습니다. 몇 가지 개선점과 격려의 말씀 드리자면:
계속해서 다양한 문제에 도전하시길 응원하며, 발전하는 모습이 멋집니다! |
rivkode
left a comment
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.
수고하셨습니다!
|
|
||
| // 매번 새로운 노드를 생성하고, 지금까지 순회한 모든 결과를 이 새로운 노드의 next로 연결 | ||
| while (head !== null) { | ||
| const newNode = new ListNode(head.val); |
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.
새로운 노드를 생성하는 것도 좋지만 기존 노드의 next를 변경하는 방식도 있습니다!
그런데 이게 어떻게 보면 직관적이긴 하네요 ㅎㅎ
답안 제출 문제
작성자 체크 리스트
In Review로 설정해주세요.검토자 체크 리스트
Important
본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!