Skip to content

Conversation

HiGeuni
Copy link
Contributor

@HiGeuni HiGeuni commented Dec 28, 2024

답안 제출 문제

체크 리스트

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

@HiGeuni HiGeuni requested a review from mike2ox December 28, 2024 04:42
@HiGeuni HiGeuni requested a review from a team as a code owner December 28, 2024 04:42
@github-actions github-actions bot added the js label Dec 28, 2024
Copy link
Contributor

@mike2ox mike2ox left a comment

Choose a reason for hiding this comment

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

고생하셨습니다! reverse bits는 비트연산자로만 활용해서 풀어볼 생각했는데 다른 풀이법도 얻어갈 수 있었네요 ㅎㅎ 올 한해도 고생하셨습니다!

// 일반적인 풀이
var reverseBits = function(n) {
const binary = n.toString(2);
const reversedBinary = binary.split('').reverse().join('').padEnd(32, '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 Author

Choose a reason for hiding this comment

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

감사합니다~ 이번주도 고생많으셨습니다~!@

@HiGeuni HiGeuni merged commit e23e1cd into DaleStudy:main Dec 28, 2024
3 checks 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.

2 participants