-
Notifications
You must be signed in to change notification settings - Fork 126
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
[강희찬] WEEK 4 Solution #416
Conversation
max = Math.max(num, max * num); | ||
min = Math.min(num, min * num); | ||
|
||
result = Math.max(result, max); |
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.
max = Math.max(num, max * num); | ||
min = Math.min(num, min * num); | ||
|
||
result = Math.max(result, max); |
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.
요 따봉의 의미가 뭔지 궁금하네요 ㅋㅋ
*/ | ||
function isPalindrome(s: string): boolean { | ||
function isAlNum(char: string): boolean { | ||
return /^[a-zA-Z0-9]$/.test(char); |
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.
다른 자바스크립트 답안들은 대소 비교를 많이 했던데 정규식이 훨씬 깔끔하네요!
답안 제출 문제
체크 리스트
In Review
로 설정해주세요.