This commit is contained in:
programmercarl
2023-02-01 20:40:07 +08:00
parent 653c0a19fd
commit 7fcbe4900b
18 changed files with 188 additions and 77 deletions

View File

@@ -32,6 +32,12 @@
* 你可以假设给定的数独只有唯一解。
* 给定数独永远是 9x9 形式的。
# 算法公开课
**《代码随想录》算法视频公开课:[回溯算法二维递归?解数独不过如此!| LeetCode37. 解数独](https://www.bilibili.com/video/BV1TW4y1471V/),相信结合视频再看本篇题解,更有助于大家对本题的理解**。
## 思路
棋盘搜索问题可以使用回溯法暴力搜索,只不过这次我们要做的是**二维递归**。