
[ํ๋ก๊ทธ๋๋จธ์ค Lv1] ์์ฃผํ์ง ๋ชปํ ์ ์ | ์๋ฐ
ยท
๐ Coding Test/Programmers Lv1
๋ฌธ์ ์์ฃผํ์ง ๋ชปํ ์ ์ํ์ด 1import java.util.*;class Solution { public String solution(String[] participant, String[] completion) { ArrayList compList = new ArrayList(Arrays.asList(completion)); for(String part : participant) { int idx = compList.indexOf(part); if(idx != -1) { compList.remove(idx); } else { return part; ..