Valid Sudoku

核心要点是如何生成 box index

One could use box_index = (row / 3) * 3 + columns / 3 where / is an integer division.

Last updated