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

[선재] WEEK11 Solutions #553

Merged
merged 3 commits into from
Oct 27, 2024
Merged

[선재] WEEK11 Solutions #553

merged 3 commits into from
Oct 27, 2024

Conversation

Sunjae95
Copy link
Contributor

답안 제출 문제

체크 리스트

  • PR을 프로젝트에 추가하고 Week를 현재 주차로 설정해주세요.
  • 바로 앞에 PR을 열어주신 분을 코드 검토자로 지정해주세요.
  • 문제를 모두 푸시면 프로젝트에서 Status를 In Review로 설정해주세요.
  • 코드 검토자 1분 이상으로부터 승인을 받으셨다면 PR을 병합해주세요.

@Sunjae95 Sunjae95 self-assigned this Oct 26, 2024
@github-actions github-actions bot added the js label Oct 26, 2024
@Sunjae95 Sunjae95 requested a review from JEONGHWANMIN October 26, 2024 06:08
@Sunjae95 Sunjae95 marked this pull request as ready for review October 26, 2024 06:08
@Sunjae95 Sunjae95 requested a review from a team as a code owner October 26, 2024 06:08
Copy link
Contributor

@DaleSeo DaleSeo left a comment

Choose a reason for hiding this comment

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

수고하셨습니다!

@@ -0,0 +1,31 @@
/**
* @description
* 최대 깊이를 탐색하는 문제여서 dfs를 먼저 떠올렸지만 이번에 bfs로 풀이하고 싶어 bfs로 풀었습니다.
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 좋은 시도입니다

Comment on lines +23 to +24
let currentNode = queue[lastIndex];
lastIndex++;
Copy link
Contributor

Choose a reason for hiding this comment

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

어제 말씀하신데로 shift()를 안 쓰니 이 부분이 햇갈리게 느껴졌습니다.

@SamTheKorean SamTheKorean merged commit a33606f into DaleStudy:main Oct 27, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

3 participants