Ad
  • Default User Avatar

    I hard-coded this solution as I forgot about the third rule in Sudoku: Each sub-grid needs to contain the numbers 1-9. After I read the comments (I only read them after I pass all the tests), I realized my error. I went back and accounted for the third rule in Sudoku and was able to pass all the tests without cheating / hard-coding.