最新 最热

Design Patterns 06 - 装饰模式

动态的给一个对象添加一些额外的职责, 就增加功能来说, 装饰模式比生成子类更为灵活.

set
2021-08-11
0

LeetCode 0090 - Subsets II

Given a collection of integers that might contain duplicates, nums, return all possible subsets (the power set).

2021-08-11
2

LeetCode 0078 - Subsets

Given a set of distinct integers, nums, return all possible subsets (the power set).

2021-08-11
1

LeetCode 0073 - Set Matrix Zeroes

Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.

2021-08-11
1

LeetCode 0060 - Permutation Sequence

The set [1,2,3,…,n] contains a total of n! unique permutations.

2021-08-11
1

LeetCode 0039 - Combination Sum

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

2021-08-11
1

LeetCode 0040 - Combination Sum II

Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.

2021-08-11
1

LeetCode 0018 - 4Sum

4SumDesicriptionGiven an array S of n integers, are there elements a, b, c, and d in S such that a

2021-08-11
1

LeetCode 0022 - Generate Parentheses

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

2021-08-11
1

LeetCode 0015 - 3Sum

3SumDesicriptionGiven an array S of n integers, are there elements a, b, c in S such that a + b +

2021-08-11
1