풀이 : String을 배열 인덱스로 넣어서 비교 / charAt() / StringBuffer() Code public class Solution1989 { public static void main(String[] args) throws IOException { Scanner sc = new Scanner(System.in); int T = sc.nextInt(); for (int tc = 1; tc = 0; i--) { arr2[i] = arr[arr.length - i - 1]; // 3 = 0, 2 = 1, 1 = 2, 0 = 3 } for (int i = 0; i < arr.length; i++) { if (arr[i] == arr2[i]) { result = 1; } else { result..