[99ํด๋ฝ ์ฝํ
์คํฐ๋] 15์ผ์ฐจ
ยท
๐ Study
์ค๋์ ํ์ต ํค์๋์คํ๋ฌธ์ - ๋ฏธ๋ค๋ฌ๊ฐ์ ์ซ์๋ ์ซ์ดํ์ด 1import java.util.*;public class Solution { public int[] solution(int []arr) { ArrayList list = new ArrayList(); list.add(arr[0]); for(int i = 1; i ํ์ด 2import java.util.*;public class Solution { public int[] solution(int []arr) { Stack stack = new Stack(); for(int num : arr) { if(stack.size() == 0..