-
-
Notifications
You must be signed in to change notification settings - Fork 248
[Lustellz] WEEK 02 problems #1756
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
제목이 solutions가 아니라 problems군요 |
아직 답안을 작성하지 않아서요... ㅎ... 이번 주에 풀 목표 문제만 나열해 봤습니다. |
앗! 그럼 리뷰어로 추가 부탁드립니다~ 현재 asignee로 되어 있어 제가 머지를 할 수가 없어서요. |
|
Stair, Anagram 두 문제 풀었습니다. 검토 부탁드려요! |
아 ㅋㅋ 본문에 있는 Top K Frequent Elements도 푸시는 줄 알았어요. 수고하셨습니다. |
if(s === t) return true | ||
else return false |
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.
이렇게 줄여볼 수도 있겠어요:
if(s === t) return true | |
else return false | |
return s === t |
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.
오! 그렇게 축약하는 건 생각 못했어요.
의견 감사합니다!
// week2 goal | ||
// not knowing how to express, I googled and referenced a bit | ||
function climbStairs(n: number): number { | ||
let stairArray: number[] = [1,2] |
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.
const
로 변경하는 것과 타입 명시를 생략하고 추론하는 것 둘다 가능해 보이는데 어떻게 생각하세요?
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
로 설정해주세요.검토자 체크 리스트
Important
본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!