Comments (73)
Python:
90. Subsets II
78. Subsets
77. Combinations
46. Permutations
from advanced-challenge.
https://leetcode.com/problems/subsets/discuss/2043072/JAVA-Backtracking
from advanced-challenge.
https://leetcode.com/problems/subsets/discuss/2043179/backtracking
from advanced-challenge.
78. 子集
https://leetcode.cn/problems/subsets/solution/by-yi-mo-shao-nu-f6iz/
90. 子集 II
https://leetcode.cn/problems/subsets-ii/solution/by-yi-mo-shao-nu-rgnm/
77. 组合
https://leetcode.cn/problems/combinations/solution/by-yi-mo-shao-nu-sg80/
39. 组合总和
https://leetcode.cn/problems/combination-sum/solution/by-yi-mo-shao-nu-58z7/
40. 组合总和 II
https://leetcode.cn/problems/combination-sum-ii/solution/40-zu-he-zong-he-ii-by-yi-mo-shao-nu-zs0g/
46. 全排列
https://leetcode.cn/problems/permutations/solution/46-quan-pai-lie-by-yi-mo-shao-nu-lo9k/
47. 全排列 II
https://leetcode.cn/problems/permutations-ii/solution/by-yi-mo-shao-nu-zw1a/
from advanced-challenge.
https://leetcode.com/problems/subsets/discuss/2043368/DFS
https://leetcode.com/problems/subsets-ii/discuss/2043780/DFS
from advanced-challenge.
https://leetcode.cn/problems/permutations/solution/hui-su-wen-ti-by-pedantic-mcleanbpp-qal3/
from advanced-challenge.
https://leetcode.cn/problems/permutations-ii/solution/by-merlin218-g3ah/
from advanced-challenge.
https://leetcode.cn/problems/permutations-ii/solution/hui-su-wen-ti-tao-mo-ban-by-huan-lai-ku-e00lx/
from advanced-challenge.
https://leetcode.cn/problems/permutations-ii/solution/by-lfool-vz40/
from advanced-challenge.
- 78
- 90
- 77
- 39
- 40
- 216
- 46
- 47
from advanced-challenge.
90 https://leetcode.cn/problems/subsets-ii/solution/by-long-5eu-seuu/
216 https://leetcode.cn/problems/combination-sum-iii/solution/hui-su-by-long-5eu-yxnr/
40 https://leetcode.cn/problems/combination-sum-ii/solution/hui-su-jianzhi-by-long-5eu-eg3p/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/dfs-by-yuyaomao-h6y5/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/by-sukey-f-wik6/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/zi-ji-by-no-sky-oabm/
https://leetcode.cn/problems/subsets-ii/solution/zi-ji-ii-by-no-sky-l103/
https://leetcode.cn/problems/combinations/solution/zu-he-by-no-sky-zeb7/
https://leetcode.cn/problems/combination-sum/solution/zu-he-zong-he-by-no-sky-f4gg/
https://leetcode.cn/problems/combination-sum-ii/solution/zu-he-zong-he-ii-by-no-sky-msa1/
https://leetcode.cn/problems/combination-sum-iii/solution/zu-he-zong-he-iii-by-no-sky-nfph/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/by-scuhzs-o6jo/
from advanced-challenge.
216:https://leetcode.cn/problems/combination-sum-iii/solution/by-lattr-4-nxz8/
from advanced-challenge.
Q78 子集:https://leetcode.cn/problems/subsets/solution/by-wan-70-ozd3/
Q90 子集重复:https://leetcode.cn/problems/subsets-ii/solution/by-wan-70-gkue/
Q77 组合:https://leetcode.cn/problems/combinations/solution/by-wan-70-6u9q/
Q39 组合总和:https://leetcode.cn/problems/combination-sum/solution/by-wan-70-cg4s/
Q40 组合总和2:https://leetcode.cn/problems/combination-sum-ii/solution/by-wan-70-3lxf/
from advanced-challenge.
https://leetcode.cn/problems/permutations/solution/by-moonno-h2sq/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/by-fan-wang-7-uu5a/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/by-yxian-sheng-7-4cro/
from advanced-challenge.
- 90 : https://leetcode.cn/problems/subsets-ii/solution/by-tab-o-jsi3/
- 216 :https://leetcode.cn/problems/combination-sum-iii/solution/by-tab-o-sowg/
- 47 : https://leetcode.cn/problems/permutations-ii/solution/by-tab-o-tkc0/
from advanced-challenge.
CPP
- 78. 子集 https://leetcode.cn/problems/subsets/solution/by-li-jinze-t9ry/
- 90. 子集 II https://leetcode.cn/problems/subsets-ii/solution/by-li-jinze-o5ml/
- 77. 组合https://leetcode.cn/problems/combinations/solution/by-li-jinze-i90t/
- 39. 组合总和https://leetcode.cn/problems/combination-sum/solution/zuhe-by-li-jinze-4l50/
- 40. 组合总和 IIhttps://leetcode.cn/problems/combination-sum-ii/solution/by-li-jinze-4n7o/
- 216. 组合总和 IIIhttps://leetcode.cn/problems/combination-sum-iii/solution/by-li-jinze-jl8d/
- 46. 全排列https://leetcode.cn/problems/permutations/solution/by-li-jinze-n42g/
- 47. 全排列 IIhttps://leetcode.cn/problems/permutations/solution/by-li-jinze-n42g/
from advanced-challenge.
https://leetcode.cn/problems/permutations-ii/solution/by-lming-9-gvci/
from advanced-challenge.
https://leetcode.cn/problems/permutations/solution/by-mikeythief-4o3e/
from advanced-challenge.
from advanced-challenge.
https://leetcode.cn/problems/partition-to-k-equal-sum-subsets/solution/by-geekvc-t-4m9r/
https://leetcode.cn/problems/permutations/solution/qu-an-pai-l-by-geekvc-t-x8jc/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/zi-ji-by-vrikxgwzl4-8j49/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/by-xiyou_peng_yu_yan-es4p/
from advanced-challenge.
cpp
-
78 子集 ,不带重复元素,不可重复使用 https://leetcode.cn/problems/subsets/solution/by-ningleexx-vylg/ 只能选择start之后的元素
-
77 组合,不带重复元素,不可重复使用https://leetcode.cn/problems/combinations/solution/by-ningleexx-qltl/ start只能遍历后面的
-
216 组合总数,不带重复元素,不可以重复使用 https://leetcode.cn/problems/combination-sum-iii/solution/216-zu-he-zhi-he-wu-zhong-fu-bu-neng-zho-os9m/ 退出条件限制了一下而已,start保证不会选到之前的
-
90 子集,带重复元素,不可重复使用 https://leetcode.cn/problems/subsets-ii/solution/by-ningleexx-v5ba/ 先排序;start只能遍历后面的;剪枝:每次选择重复元素只能使用第一个,剩下的全部剪枝掉
-
40 组合总数,带重复元素,不可以重复使用 https://leetcode.cn/problems/combination-sum-ii/solution/by-ningleexx-7ec2/ 排序;start之前不能用;相同数字只能用第一个
-
39 组合总数,不带重复元素,可以重复使用 https://leetcode.cn/problems/combination-sum/solution/by-ningleexx-zyva/ start可以重复利用;但是start之前的依旧不能使用
-
47 带重复数字全排列 https://leetcode.cn/problems/permutations-ii/solution/by-ningleexx-zoce/ 增加剪枝:保证重复数字使用的相对顺序,对于重复数字只有前面的数字使用了,后面的才能使用
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/huisu-by-smartdengc-zp2w/
from advanced-challenge.
https://leetcode.cn/problems/combinations/solution/hui-su-suan-fa-jie-jue-zu-he-wenti-by-sm-t716/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/c-hui-su-jie-jue-zi-ji-by-yann-w-uj97/
from advanced-challenge.
https://leetcode.com/problems/subsets/discuss/2045640/Python-3-Backtraversing
https://leetcode.com/problems/permutations/discuss/2045720/Python-3-Backtraversing
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/by-unruffled-driscoll51z-fyze/
https://leetcode.cn/problems/combinations/solution/hui-su-jie-jue-zu-he-wen-ti-by-unruffled-3xt5/
https://leetcode.cn/problems/subsets-ii/solution/hui-su-by-unruffled-driscoll51z-st6h/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/by-nelly-60h7/
https://leetcode-cn.com/problems/combinations/solution/hui-su-fa-jian-zhi-by-nelly-rqlw/
https://leetcode-cn.com/problems/combination-sum-iii/solution/hui-su-jian-zhi-by-nelly-og8s/
https://leetcode-cn.com/problems/subsets-ii/solution/by-nelly-yaue/
from advanced-challenge.
https://leetcode.com/problems/permutations-ii/discuss/2046243/Python-with-symple-methods
from advanced-challenge.
Java:
78. Subsets: https://leetcode.com/problems/subsets/discuss/2046300/Java
90. Subsets II: https://leetcode.com/problems/subsets-ii/discuss/2046301/Java
77. Combinations: https://leetcode.com/problems/combinations/discuss/2046303/java
39. Combination Sum: https://leetcode.com/problems/combination-sum/discuss/2046304/java
40. Combination Sum II: https://leetcode.com/problems/combination-sum-ii/discuss/2046305/java
216. Combination Sum III: https://leetcode.com/problems/combination-sum-iii/discuss/2046306/java
46. Permutations: https://leetcode.com/problems/permutations/discuss/2046307/java
47. Permutations II: https://leetcode.com/problems/permutations-ii/discuss/2046309/java
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/hui-su-xuan-ze-by-dm2q-ynzk/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/by-jiangcheng-2021-zbsa/
from advanced-challenge.
https://leetcode.cn/problems/permutations-ii/solution/by-tina_huskie-geuk/
from advanced-challenge.
from advanced-challenge.
https://leetcode.com/problems/subsets/discuss/1883149/python3-dfs
from advanced-challenge.
[子集问题-除重 - 子集 II - 力扣(LeetCode)](https://leetcode.cn/problems/subsets-ii/solution/by-kou-ming-aszt/)
[全排列2-树层去重 - 全排列 II - 力扣(LeetCode)](https://leetcode.cn/problems/permutations-ii/solution/quan-pai-lie-by-kou-ming-rh5f/)
from advanced-challenge.
https://leetcode.cn/problems/subsets-ii/solution/zi-ji-er-by-sui-ji-guo-cheng-sui-ji-guo-w7hz/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/hui-su-suan-fa-zi-ji-by-csseudaeaq-mr6o/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/78-zi-ji-by-serendipityj-dvol/
from advanced-challenge.
https://leetcode.cn/problems/permutations-ii/solution/hui-su-by-bmy-4hml/
from advanced-challenge.
https://leetcode.com/problems/subsets/discuss/2047991/python-backtrack
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/hui-su-by-wu-jin-wei-lan-b-uvxx/
from advanced-challenge.
https://leetcode.com/problems/subsets/discuss/2048126/Python3-Backtrack-Solution-Explained
https://leetcode.com/problems/combinations/discuss/2048154/Python3-Backtrack-Solution-Explained
https://leetcode.com/problems/combination-sum-ii/discuss/2048229/Python3-Backtrack-Solution
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/by-remtimes-hyqo/
from advanced-challenge.
https://leetcode.cn/problems/permutations-ii/solution/by-yao-shi-kwow/
from advanced-challenge.
https://leetcode.cn/problems/combinations/solution/by-kf953741-za8d/
from advanced-challenge.
https://leetcode.cn/problems/combinations/solution/zu-he-by-hua-sk-twnp/
from advanced-challenge.
78: https://leetcode-cn.com/problems/subsets/solution/zi-ji-by-4iovekwz80-rs17/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/78-zi-ji-by-bthyla-x0tk/
https://leetcode.cn/problems/combinations/solution/77-zu-he-by-bthyla-8bal/
from advanced-challenge.
https://leetcode.com/problems/subsets/discuss/1885622/java-solution-on-backtracking
from advanced-challenge.
https://leetcode.cn/problems/combination-sum/solution/zushu-by-zlzhangli-igb8/
from advanced-challenge.
Python3:
78. Subsets
https://leetcode.cn/problems/subsets/solution/goldenlimitjie-by-goldenlimit-q07a/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/by-qing-niao-1111-6bco/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/by-abc_cba-iqdm/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/by-6oofy-turingj5y-hacs/
from advanced-challenge.
https://leetcode.com/problems/subsets/discuss/2071986/Java-solution
from advanced-challenge.
子集II: https://leetcode.cn/problems/subsets-ii/solution/huishuo-by-annanna-asuz/
组和: https://leetcode.cn/problems/combinations/solution/zu-he-hui-su-by-annanna-ex04/
组和总和:https://leetcode.cn/problems/combination-sum/solution/zu-he-zong-he-javahui-su-by-annanna-xmzc/
组和总和II :https://leetcode.cn/problems/combination-sum-ii/solution/by-annanna-aevw/
from advanced-challenge.
https://leetcode.com/problems/subsets/discuss/1968558/JS
from advanced-challenge.
78.子集
https://leetcode.cn/problems/subsets/solution/by-estherstarry-r9hy/
90.子集II
https://leetcode.cn/problems/subsets-ii/solution/by-estherstarry-12hl/
77.组合
https://leetcode.cn/problems/combinations/solution/day1677zu-he-by-estherstarry-okb0/
39.组合总和
https://leetcode.cn/problems/combination-sum/solution/day-by-estherstarry-987l/
40.组合总和 II
https://leetcode.cn/problems/combination-sum-ii/solution/day16-by-estherstarry-75al/
47.全排列 II
https://leetcode.cn/problems/permutations-ii/solution/by-estherstarry-qyc6/
from advanced-challenge.
https://leetcode.cn/problems/combinations/solution/hui-su-by-annalovecode-pvm8/
from advanced-challenge.
https://leetcode.cn/problems/subsets-ii/solution/by-weigiegie-fjyr/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/hui-su-by-yi-ci-guo-dg02/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/by-ling-ling-ling-k-xgl8/
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/by-ling-ling-ling-k-xgl8/
from advanced-challenge.
https://leetcode.com/problems/combinations/discuss/2077935/Java-Solution
from advanced-challenge.
https://leetcode.cn/problems/subsets/solution/by-minnownino-4o47/
from advanced-challenge.
Related Issues (20)
- 已结束
- 已结束 HOT 34
- 797
- 797
- 已结束 HOT 32
- 图遍历
- https://leetcode.cn/problems/is-graph-bipartite/solutions/2370167/tu-de-bian-li-huan-hen-bu-shou-lian-by-c-dbfu/
- 已结束 HOT 33
- https://leetcode.cn/problems/is-graph-bipartite/solutions/2370167/tu-de-bian-li-huan-hen-bu-shou-lian-by-c-dbfu/
- 已结束 HOT 32
- 已结束 HOT 33
- 已结束 HOT 32
- 已结束 HOT 30
- 已结束 HOT 30
- 已结束 HOT 30
- 已结束 HOT 28
- 已结束 HOT 28
- 已结束 HOT 28
- 已结束 HOT 28
- 已结束 HOT 28
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from advanced-challenge.