문제 풀이 function solution(numbers) { numbers.sort(); for (let i = numbers.length - 1; i > 0; i--) { const lNumStr = numbers[i - 1].toString(); const rNumStr = numbers[i].toString(); if (lNumStr.charAt(0) === rNumStr.charAt(0)) { const case1 = lNumStr + rNumStr; const case2 = rNumStr + lNumStr; if (+case1 > +case2) { // 순서 교체 let temp = numbers[i - 1]; numbers[i - 1] = numbers[i]; numbers[i] = temp..