This commit is contained in:
youngyangyang04
2021-04-16 11:09:29 +08:00
parent a8c13e604b
commit 17100f571b

View File

@ -1,6 +1,3 @@
<p align='center'>
<img src="https://img-blog.csdnimg.cn/20201215214102642.png" width=400 >
</p>
<p align="center">
<a href="https://github.com/youngyangyang04/leetcode-master"><img src="https://img.shields.io/badge/Github-leetcode--master-lightgrey" alt=""></a>
<a href="https://img-blog.csdnimg.cn/20201115103410182.png"><img src="https://img.shields.io/badge/刷题-微信群-green" alt=""></a>
@ -11,8 +8,6 @@
</p>
> 今天开始正式回溯法的讲解,老规矩,先概述
# 什么是回溯法
回溯法也可以叫做回溯搜索法,它是一种搜索的方式。
@ -111,7 +106,7 @@ if (终止条件) {
如图:
<img src='../pics/回溯算法理论基础.png' width=600> </img></div>
![回溯算法理论基础](https://img-blog.csdnimg.cn/20210130173631174.png)
注意图中,我特意举例集合大小和孩子的数量是相等的!
@ -165,8 +160,14 @@ void backtracking(参数) {
今天是回溯算法的第一天按照惯例Carl都是先概述一波然后在开始讲解具体题目没有接触过回溯法的同学刚学起来有点看不懂很正常后面和具体题目结合起来会好一些。
---------------------------
* 公众号:[代码随想录](https://img-blog.csdnimg.cn/20201210231711160.png)
* B站[代码随想录](https://space.bilibili.com/525438321)
* Github[leetcode-master](https://github.com/youngyangyang04/leetcode-master)
* 知乎:[代码随想录](https://www.zhihu.com/people/sun-xiu-yang-64)
![](https://img-blog.csdnimg.cn/20210416110157800.png)
> **我是[程序员Carl](https://github.com/youngyangyang04),可以找我[组队刷题](https://img-blog.csdnimg.cn/20201115103410182.png),也可以在[B站上找到我](https://space.bilibili.com/525438321),本文[leetcode刷题攻略](https://github.com/youngyangyang04/leetcode-master)已收录,更多[精彩算法文章](https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzUxNjY5NTYxNA==&action=getalbum&album_id=1485825793120387074&scene=173#wechat_redirect)尽在公众号:[代码随想录](https://img-blog.csdnimg.cn/20200815195519696.png),关注后就会发现和「代码随想录」相见恨晚!**
**如果感觉对你有帮助,不要吝啬给一个👍吧!**