사용 알고리즘: 완전탐색사용 언어: java import java.util.*;class Solution { public int solution(int[] mats, String[][] park) { Arrays.sort(mats); return carpet(mats, park); } public int carpet(int[] mats, String[][] park) { int answer = -1; for(int size = mats.length - 1; size >= 0 ; size--) { if(park.length