Ad
  • Custom User Avatar

    It's difficult to know what's wrong without seeing the input that produced this result or your code. That does appear to be a valid sudoku board. Is it possible that your code is overwriting already solved squares given to you in the input?

    Edit: I see what happened, your result array is rotated. You likely mixed up row and column or x and y somewhere.