Conversation
raejun92
approved these changes
Apr 9, 2026
| } | ||
|
|
||
| static String solution(String s) { | ||
| int[] nums = Arrays.stream(s.split(" ")) |
Collaborator
There was a problem hiding this comment.
지현님이 말씀하신 것처럼 자바에서는 작은 따음표랑 큰 따음표를 다르게 인식하는 것 같네요!
해당 답을 작은 따음표로 바꿔서 제출하면 String으로 바꿀 수 없다는 애러가 떠요
Collaborator
Author
There was a problem hiding this comment.
아 추가적으로 설명을 드리자면 아까 문자열 타입(String, char)에 대해서
큰따옴표 ("): String str = "Hello"; 와 같이 0개 이상의 문자를 포함하는 문자열에 사용.
작은따옴표 ('): char ch = 'A'; 와 같이 반드시 단 하나의 문자만 담을 때 사용.
차이점 또한 존재합니다! 이 부분 아까 PT할 때 설명누락된 점. 죄송합니다
Collaborator
There was a problem hiding this comment.
저는 예전에 풀었던 기억이 남아있어서 해당 아이디어를 떠올릴 수 있었는데 배진님은 아이디어를 생각해 내시다니 대단해요!
sik9252
approved these changes
Apr 9, 2026
Collaborator
sik9252
left a comment
There was a problem hiding this comment.
여러 언어로 코딩테스트 풀어보면서 자바가 입력/출력때도 적어야 할 부분이 많고 해서 포기했던 기억이 있는데 대단하십니다 ㅎㅎ 같이 열심히 해봐요!
doitchuu
approved these changes
Apr 9, 2026
Member
doitchuu
left a comment
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 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.
이렇게 풀었어요
1. 최댓값과 최솟값
1) 복잡도 계산
2) 접근 아이디어
2. JadenCase 문자열 만들기
1) 복잡도 계산
2) 접근 아이디어
3) 회고
3. 올바른 괄호
1) 복잡도 계산
2) 접근 아이디어
3) 회고