-
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
[gmlwls96] Week 6 #885
[gmlwls96] Week 6 #885
Conversation
if (height[left] < height[right]) { | ||
left++ | ||
} else { | ||
right-- | ||
} |
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 ~ else 사용 방법도 있고, 조건을 조금 더 추가하여 시간 복잡도는 그대로 가져가되 반복문을 통해 투 포인터를 조정하는 방법도 있을것 같아요 :)
@@ -0,0 +1,48 @@ | |||
class Node() { | |||
val map = mutableMapOf<Char, Node?>() |
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.
정해진 캐릭터가 26자라는걸 생각하면 map 대신 다른 자료형을 통해 제한을 줄 수 있을것 같아요!
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.
아 그렇네요~! 좋은 리뷰 감사합니다ㅎㅎ
valid-parentheses/gmlwls96.kt
Outdated
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.
6주차 문제 풀이 고생 많으셨습니다.
코틀린 문법 사용으로 모든 풀이의 가독성이 너무 좋았습니다.
절반 정도의 기간 동안 고생 많으셨고 남은 8주도 파이팅입니다!
답안 제출 문제
체크 리스트
In Review
로 설정해주세요.