Skip to content
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

[jj7779607] Week7 #948

Merged
merged 1 commit into from
Jan 25, 2025
Merged

[jj7779607] Week7 #948

merged 1 commit into from
Jan 25, 2025

Conversation

limlimjo
Copy link
Contributor

답안 제출 문제

체크 리스트

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

@limlimjo limlimjo requested a review from taewanseoul January 25, 2025 03:03
@limlimjo limlimjo requested a review from a team as a code owner January 25, 2025 03:03
@github-actions github-actions bot added the js label Jan 25, 2025
Copy link
Contributor

@taewanseoul taewanseoul left a comment

Choose a reason for hiding this comment

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

아직 풀이 중이셔서 승인없이 간단하게 리뷰만 남깁니다!

Comment on lines +12 to +23
var reverseList = function (head) {
let [prev, curr] = [null, head];

while (curr) {
[curr.next, prev, curr] = [prev, curr, curr.next];
}

return prev;
};

// 시간복잡도: O(n)
// 공간복잡도: O(1)
Copy link
Contributor

@taewanseoul taewanseoul Jan 25, 2025

Choose a reason for hiding this comment

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

이렇게 destructuring assignment를 사용하는 건 생각치 못했네요! 👍

예전에 제가 받은 리뷰인데, 시간복잡도와, 공간복잡도는 코드 위에 적어두면 리뷰하는 분한테 더 보기 편하다고 합니다. 참고해 주세요~

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.

7주차 문제 풀이 고생하셨습니다.
자바스크립트 문법에 최적화된 코드 같네요.
감탄하고 갑니다 하하....!
8주차 새해 복 많이 받으시고 문제 풀이도 파이팅입니다!

@TonyKim9401 TonyKim9401 merged commit cce4f9e into DaleStudy:main Jan 25, 2025
3 checks passed
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.

3 participants