最新 最热

LeetCode 0017 - Letter Combinations of a Phone Number

Given a digit string, return all possible letter combinations that the number could represent.

2021-08-11
2

Backtracking - 77. Combinations

Given two integers n and k, return all possible combinations of k numbers out of 1 ... n.

2020-09-23
2

Backtracking - 39. Combination Sum

Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the candidate ...

2020-09-23
2

Backtracking - 216. Combination Sum III

Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be a unique s...

2020-09-23
2

parentheses - 22. Generate Parentheses

Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.

2020-09-23
2

[Cocos Creator] 制作简版消消乐(四):实现消除算法

来了来了,终于来了!上篇文章我们实现了方块的生成和交换,那本篇文章就到了该系列的重头戏,我们一起来实现消消乐的消除算法!

2020-07-10
1

C++核心准则ES.41: 如果对操作符的优先级有疑问,使用括号明确运算次序

Avoid errors. Readability. Not everyone has the operator table memorized.

2020-05-20
2

[leetcode]39. Combin

意思说 给你一组正数C,然后 给你一个目标数T, 让你从那组C中找到加在一起等于T的那些组合。 比如 给你7 然后 从[2,3,6,7]中可以找到[2,2,3]和[7]两组组合。 想了一下还是用DFS:...

2020-01-07
2

python 列表的排列组合

permutations/combinations/combinations_with_replacement

2019-09-30
1

LeetCode22- Generate Parentheses

Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.

2019-07-01
2