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

[gomgom22] Week8 #974

Merged
merged 4 commits into from
Feb 1, 2025
Merged

[gomgom22] Week8 #974

merged 4 commits into from
Feb 1, 2025

Conversation

Yjason-K
Copy link
Contributor

@Yjason-K Yjason-K commented Jan 31, 2025

답안 제출 문제

체크 리스트

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

@Yjason-K Yjason-K added the ts label Jan 31, 2025
@Yjason-K Yjason-K requested a review from a team as a code owner January 31, 2025 14:18
@Yjason-K Yjason-K requested a review from pmjuu January 31, 2025 14:19
// 1. 입력 숫자 `n`을 2진수 문자열로 변환
// 2. 2진수 문자열을 개별 문자로 나누어 배열로 변환
// 3. 배열에서 1의 개수를 누적하여 합산
return n.toString(2).split('').reduce((a, b) => a + Number(b), 0);
Copy link
Contributor

Choose a reason for hiding this comment

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

우와..

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.

8주차 문제 풀이 고생 하셨습니다.
문제 접근 및 설명이 너무 훌륭하셔서 코멘트 남길게 없네요..!
9주차 문제 풀이도 파이팅입니다. 이제 얼마 안남았어요!

@Yjason-K Yjason-K merged commit 1407d9c into DaleStudy:main Feb 1, 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.

2 participants