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

[YeomChaeeun] Week 10 #1020

Merged
merged 3 commits into from
Feb 16, 2025
Merged

[YeomChaeeun] Week 10 #1020

merged 3 commits into from
Feb 16, 2025

Conversation

YeomChaeeun
Copy link
Contributor

@YeomChaeeun YeomChaeeun commented Feb 11, 2025

답안 제출 문제

체크 리스트

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

@YeomChaeeun YeomChaeeun requested a review from a team as a code owner February 11, 2025 15:14
@github-actions github-actions bot added the ts label Feb 11, 2025
@YeomChaeeun YeomChaeeun requested a review from yolophg February 11, 2025 15:15
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.

@YeomChaeeun 님, 10주차도 고생하셨습니다.
어느새 벌써 2/3까지 지나왔네요. 남은 5주도 계속해서 꾸준히 하실 수 있도록 응원하겠습니다!

//
// return root

// 2. 스택을 사용하여 트리를 순회 - 반복 알고리즘
Copy link
Contributor

Choose a reason for hiding this comment

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

재귀를 순회로 바꿔보신 것 정말 좋네요!

let low = 0;
let high = nums.length - 1;
while(low <= high) {
let mid = low + Math.floor((high - low) / 2);
Copy link
Contributor

Choose a reason for hiding this comment

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

오버플로를 고려하셨네요! 👍

@YeomChaeeun YeomChaeeun merged commit 9f6e9b4 into DaleStudy:main Feb 16, 2025
1 check 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.

2 participants