leetcode valid sudoku c++

来源:互联网 发布:手机淘宝历史版本5.1.1 编辑:程序博客网 时间:2024/06/05 16:40

this problem just consider whether this matrix is the right matrix.

we just consider each col,each row and each small matrix.

then I would like to focus on a small trick here

the two dimension matrix is a char matrix, if you want to use the number in this matrix, you should turn it into matrix[i][j] - '1' 

0 0