LEARNING JOURNAL

I created this learning journal to practice writting and to help me learn by writting everything down. Source code here

3/8/2024

Valid Sudoku

THE PROBLEM

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.