Like the previous one, first store current number to the map, then use dfs to do the filling. One thing need to keep in mind is that if we use 2d array/vector to store, remember we need to let 2rd dim represent the number, not the index.
leetcode-37-Sudoku Solver
阅读 18
2023-08-23
Like the previous one, first store current number to the map, then use dfs to do the filling. One thing need to keep in mind is that if we use 2d array/vector to store, remember we need to let 2rd dim represent the number, not the index.
相关推荐
精彩评论(0)