문제 풀이1 - 타임 오버import java.util.Scanner;import java.util.Stack;public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); Stack leftStack = new Stack(); Stack rightStack = new Stack(); String input = sc.nextLine(); for (char c : input.toCharArray()) { leftStack .push(String.valueOf(c)); } int N ..