Does anyone know a simple algorithm to check if a Sudoku-Configuration is valid? The simplest algorithm I came up with is (for a board of size n) in Pseudocode
f
Here is what I just did for this:
boolean checkers=true; String checking=""; if(a.length/3==1){} else{ for(int l=1; l9||a[i][j]<1){ checkers=false; break; } else{ col[a[i].length-j][i]=a[i][j]; } } } String alia=""; for(int i=0; i