Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Mar 18, 2024. It is now read-only.
Conversation
y2r1m
requested review from
Woo-Yeol, ksumini, limstonestone and zsmalla
as code ownersJuly 12, 2023 18:50
Closed
limstonestone
approved these changes
Jul 13, 2023
limstonestone
left a comment
Contributor
There was a problem hiding this comment.
우열님 풀이나 수민님 풀이를 참고하시면 더욱 풀이가 간결해져서 좋을 것 같아요!
풀이 감사합니다 :)
ksumini
approved these changes
Jul 13, 2023
Contributor
There was a problem hiding this comment.
popleft()나 pop()은 값을 예림님이 써주신 것처럼 값을 반환하니까 print문 안에 바로 써주면 더 깔끔할 것 같아요~!
Woo-Yeol
approved these changes
Jul 13, 2023
Woo-Yeol
left a comment
Member
There was a problem hiding this comment.
알고리즘이 전반적으로 동일하지만 if else문의 사용으로 길이가 길어져 가독성이 조금 떨어질 수 있을 것 같습니다. 이전 문제에서 삼항 연산자 풀이가 인상적이었어서 해당 문제에도 삼항 연산자 혹은 조건문에 and 문을 활용하여 풀이를 진행한다면 더 간결해질 수 있을 것 같습니다.
zsmalla
approved these changes
Jul 13, 2023
zsmalla
left a comment
Contributor
There was a problem hiding this comment.
정석적으로 잘 풀이해내신 것 같습니다! 다른 분들 말씀대로 삼항 연산자나, 값을 반환한 후 다시 쓸 일이 없을 때에는 곧바로 출력해버리는 방법을 통해 조금 더 가독성 있는 깔끔한 풀이가 가능할 것 같습니다~ 고생하셨어요 예림님!
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 freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
PR Summary
백준 10866번: 덱 (Silver 4)
ISSUE NUMBER