Merged
Conversation
스트림으로 풀었다가 느려서 그냥 이터레이션으로 바꿈 분류: 해시 난이도: 2점
Contributor
Author
|
다른 사람의 풀이보니 너무 깔끔 ㅜㅜ |
Contributor
|
앗.. 혹시 알고리즘 풀 때, foreach를 사용해도 괜찮은걸까요? |
Contributor
Author
|
@ksundong 대회냐 코딩 테스트냐에 따라 다른데요. 코딩 테스트는 그렇게 심각한 경우가 별로 없습니다. 대회에서는 잘 사용하지 않아요. 직접 재 봤는데 스트림은 좀 더 트리고, for iteration(?)은 그렇게 느리지 않았던 것 같습니다. |
Contributor
|
감사합니다! 참고하겠습니다! |
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.
스트림으로 풀었다가 느려서 그냥 이터레이션으로 바꿈
분류: 해시
난이도: 2점