回溯法
#619
Replies: 1 comment
-
emmm 之前直接学的 dfs,看到回溯法很是迷惑,其实就是完完全全的 dfs,回溯法的回溯这个词主要是想体现 dfs 的特征: for 循环内:
例题看着很像八皇后,去搜了一下发现就是大名鼎鼎的“八皇后”。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://oi-wiki.org/search/backtracking/
Beta Was this translation helpful? Give feedback.
All reactions