Intuition
- It’s simple, just build a map to record all the values for each row, col and block.
solution
|
|
promote
It can use a 2d array instead of HashMap, and make it faster.
solution
|
|
promote
It can use a 2d array instead of HashMap, and make it faster.