-
-
Notifications
You must be signed in to change notification settings - Fork 195
[Sehwan] Week14 solution with JavaScript #210
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
완주를 축하드립니다! 🎖️
while (b !== 0) { | ||
if (b > 0) { | ||
a++; | ||
b--; | ||
} else { | ||
b++; | ||
a--; | ||
} | ||
} | ||
return a; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
와... 이게 모죠? ㅋㅋㅋ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
비트 연산자로 풀었어야 출제자의 의도에 부합하는건데 ㅎㅎ 이런 풀이도 있더라고요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
풀이 잘 보았습니다.
마지막 주차까지 고생 많으셨습니다...!
sum-of-two-integers 의 해결법은 저도 다른 사람 풀이 봤을 때 봤었던 방법이네요 🤣
수고많으셨어요 감사합니다 🎉🎉 @DaleSeo |
No description provided.