mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-10 04:06:51 +08:00
更新 0077.组合 排版格式修复
This commit is contained in:
@ -5,10 +5,6 @@
|
|||||||
</a>
|
</a>
|
||||||
<p align="center"><strong><a href="https://mp.weixin.qq.com/s/tqCxrMEU-ajQumL1i8im9A">参与本项目</a>,贡献其他语言版本的代码,拥抱开源,让更多学习算法的小伙伴们收益!</strong></p>
|
<p align="center"><strong><a href="https://mp.weixin.qq.com/s/tqCxrMEU-ajQumL1i8im9A">参与本项目</a>,贡献其他语言版本的代码,拥抱开源,让更多学习算法的小伙伴们收益!</strong></p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# 第77题. 组合
|
# 第77题. 组合
|
||||||
|
|
||||||
[力扣题目链接](https://leetcode.cn/problems/combinations/ )
|
[力扣题目链接](https://leetcode.cn/problems/combinations/ )
|
||||||
@ -27,13 +23,12 @@
|
|||||||
[1,4],
|
[1,4],
|
||||||
]
|
]
|
||||||
|
|
||||||
# 算法公开课
|
## 算法公开课
|
||||||
|
|
||||||
|
**[《代码随想录》算法视频公开课](https://programmercarl.com/other/gongkaike.html):[带你学透回溯算法-组合问题(对应力扣题目:77.组合)](https://www.bilibili.com/video/BV1ti4y1L7cv),[组合问题的剪枝操作](https://www.bilibili.com/video/BV1wi4y157er),相信结合视频在看本篇题解,更有助于大家对本题的理解**。
|
||||||
|
|
||||||
|
|
||||||
**《代码随想录》算法视频公开课:[带你学透回溯算法-组合问题(对应力扣题目:77.组合)](https://www.bilibili.com/video/BV1ti4y1L7cv),[组合问题的剪枝操作](https://www.bilibili.com/video/BV1wi4y157er),相信结合视频在看本篇题解,更有助于大家对本题的理解**。
|
## 思路
|
||||||
|
|
||||||
|
|
||||||
# 思路
|
|
||||||
|
|
||||||
|
|
||||||
本题是回溯法的经典题目。
|
本题是回溯法的经典题目。
|
||||||
@ -345,12 +340,10 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## 其他语言版本
|
## 其他语言版本
|
||||||
|
|
||||||
|
|
||||||
### Java:
|
### Java
|
||||||
|
|
||||||
```java
|
```java
|
||||||
class Solution {
|
class Solution {
|
||||||
@ -451,7 +444,7 @@ func dfs(n int, k int, start int) {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### javascript
|
### Javascript
|
||||||
|
|
||||||
剪枝:
|
剪枝:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user