0
点赞
收藏
分享

微信扫一扫

leetcode-36-Valid Sudoku

扬帆远航_df7c 2023-08-23 阅读 63


Use 3 vector of maps to store current number, then check the current situation is fit the rule or not.

The trick part is for the cell map, remember (i / 3) * 3 + j / 3 stand for the nth cell.


举报

相关推荐

0 条评论