3/8/2024
Valid Sudoku
There is not much to say about this problem. You create 27 hash tables, 9 for 9 rows, 9 for 9 columns, and 9 for 9 squares. Then, you use those hash table to check if there is any number repeated on each of them. If there is, you return false. After you finish scanning the board and cannot find a repeated number, you return true.