문제 유형Recursion작성 코드import java.util.Arrays;import java.util.Scanner;public class Main { public static StringBuilder answer; public static int[] givenNums; public static int[] row; public static boolean[] checks; public static int N; public static int M; public static void recursive(int depth){ if (depth == M) { for (int element : row) { answ..