1. 내 풀이쌩으로 구현했다.import java.util.*;public class Solution { public ArrayList solution(int []arr) { ArrayList answer = new ArrayList(); int insertIdx = 0; for(int i = 0; i 2. 다른 분 풀이문제의 의도대로 stack을 이용해서 푼 모습을 볼 수 있다.import java.util.*;public class Solution { public Stack solution(int []arr) { Stack stack = new Stack(); for(int num : arr){ ..