Skip to content

Conversation

@LiiNi-coder
Copy link
Contributor

🧷 문제 링크

https://school.programmers.co.kr/learn/courses/30/lessons/42746

🧭 풀이 시간

40 분

👀 체감 난이도

✏️ 문제 설명

  • 숫자문자열 배열이 주어질때, 이것을 다양하게 연결하여, 가장 큰수를 출력

🔍 풀이 방법

  • sort할때 comparator를 적용하여 2가지 숫자문자열을 병합하였을때, ab, ba를 서로 비교하는 방식으로 두는 방식은 처음이어서 다소 어려웠다.

⏳ 회고

  • 또한
     if(strs[0].equals("0")){
            return "0";
        }

이렇게 예외처리하는 것도 시간이 꽤 걸림

@LiiNi-coder LiiNi-coder added the hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때 label Nov 10, 2025
@ShinHeeEul ShinHeeEul merged commit 13360f3 into main Nov 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants