Conversation
duckgii
commented
Jan 9, 2025
- Lv2. 구현 완료했습니다.
- 하드코딩된 리터럴이 없도록 주의해서 진행했습니다!
chyo1
reviewed
Jan 12, 2025
chyo1
left a comment
There was a problem hiding this comment.
리뷰에서 공통되는 부분 다 찾아서 바꿔보기~! (hint. 상수, 출력 문자열)
수고하셨습니다~
Comment on lines
5
to
9
There was a problem hiding this comment.
Suggested change
| private final String solution; | |
| BinarySearch() { | |
| solution = "반띵 ㄱㄱ"; | |
| } | |
| private static final String solution = "반띵 ㄱㄱ"; |
변수로 둘 거라면 상수화를 추천합니다
Comment on lines
6
to
22
Comment on lines
41
to
43
There was a problem hiding this comment.
int보다 랜덤한 AlgorithmType을 뽑은 후 해당 타입을 넘기는게 좋을 것 같아요
There was a problem hiding this comment.
Suggested change
| System.out.println(DEFAULT + algorithmTypes[firstAlgorithm].getType() + DELIMITER + algorithmTypes[secondAlgorithm].getType()); | |
| System.out.println("오늘의 알고리즘 : %s, %s", algorithm1.getType(), algorithm2.getType()); |
처럼 하나의 문자열로 만들어서 넘겨주세요
|
다른분들이 다 잘 써주셨고, 또 잘 작성해주셔서 좋네요 but 군데군데 접근지정자가 비어보이네요 like my 알고리즘 기본기 |
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.