package step_by_step.level15; import java.util.*; public class N_Queen { static int[] arr; static int count = 0; static boolean check (int row) { for (int j = 0; j < row; j++) { if ((arr[j]) == arr[row] || ( row - j == Math.abs(arr[row] - arr[j]))) { return false; } } return true; } static void nQueen(int n, int row) { if (row == n) { count++; return; } for (int column = 0; column < n; column++)..