Conversation
realain
commented
May 8, 2025
Collaborator

DGJSKIM
self-requested a review
May 8, 2025 05:37
|
@DGJSKIM 님, @protectHeo 님 숭고한 랜덤 리뷰어로 당첨되셨습니다! 리뷰를 부탁드립니다. 🙏 |
DGJSKIM
approved these changes
May 12, 2025
| } | ||
|
|
||
| for (int i = 3; i <= stairCount; i++) { | ||
| dp[i] = Math.max(dp[i - 2], dp[i - 3] + stairScore[i - 1]) + stairScore[i]; |
Contributor
There was a problem hiding this comment.
다풀고나서 이거 보니까 하 이사람 깔끔하게 한줄컷했네 생각들었음 ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ
| int right = numCount - 1; | ||
| System.out.println(checkPalindrome(left, right)); | ||
| } | ||
| static int checkPalindrome (int left, int right) { |
Contributor
There was a problem hiding this comment.
저도 첨에 양끝 잡고
왼쪽에 추가하기 or 오른쪽에 추가하기 대충 이런식으로 풀까하다가
재혁햄 풀이보고 겹치길래 끙끙앓았는데
그냥 이게 더 직관적이긴 한 거 같아요
|
이름이 죽을 때까지 스터디인데 끝나다니요~~ |
Collaborator
Author
감사합니다 눈팅 당하고있었다니 |
Collaborator
|
고생한 당신에게 허차차 1회 이용권을 증정합니다. |
|
저도주세요 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.