I have to do this homework, due on Nov 7.
I have so many midterms coming from other classes.
There is no much time left to invest in this homework.
Any help would be much appreciate.
Thank youAttachments
Sudoku is just a puzzle, but the backtracking technique for solving it is used in many important application domains. To solve a Suduku without backtracking,
Attachments
the flag
Boolean[] flag = new Boolean[10];
// set all to false
Arrays.fill(flag, false);
for (int i = 0; i < in.length; i++) {
// ignore case 0
if (in[i] == 0) {
} else {
if (flag[in[i]]) {
return true;
} else {
flag[in[i]] = true;
}
}