[프로그래머스] 전화번호 목록
import java.util.*; class Solution { public boolean solution(String[] phone_book) { boolean answer = true; Arrays.sort(phone_book, new Comparator(){ public int compare(String s1, String s2){ return s1.length()-s2.length(); } }); for(int i=0; i
2020.04.04