문제 내 풀이 1 : for문을 이용한 풀이.import java.io.BufferedReader;import java.io.InputStreamReader;import java.util.ArrayDeque;import java.util.Deque;public class Card2 { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Deque d = new ArrayDeque(); int N = Integer.parseInt(br.readLine()); //N개 ..