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

[220421] 풀이추가 2개, 코드 삭제 1개, 주석수정 1개 #39

Merged
merged 3 commits into from
Apr 22, 2022
Merged

Conversation

yongchanson
Copy link
Contributor

No description provided.

기존의 정답3 재원님의 코드는 다른문제의 해답입니다.(수박수박수박수박수박수.js)
Copy link
Owner

@codeisneverodd codeisneverodd left a comment

Choose a reason for hiding this comment

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

고생하셨습니다 😄 특히 수박수박수 문제 해설이 왜 저기 있었는지 모르겠네요!! 감사합니다 ㅎㅎ

}
Copy link
Owner

Choose a reason for hiding this comment

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

찾아주셔서 감사합니다! 더 꼼꼼히 리뷰해야겠네요!! 😿

Comment on lines +51 to +54
repeat() 메서드는 문자열을 주어진 횟수만큼 반복해 붙인 새로운 문자열을 반환한다. ex) str.repeat(count);
'*'.repeat(a) : *를 a만큼 반복한다.
*/
Copy link
Owner

Choose a reason for hiding this comment

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

풀이 과정 적어주신 것 너무 좋습니다 👍 👍

let count = 0;
while (num !== 1) {
if (count++ === 500) return -1;
Copy link
Owner

Choose a reason for hiding this comment

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

++ 연산자를 활용한 풀이 너무 깔끔한데요? 배워갑니다 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants