- 博客(2)
- 收藏
- 关注
原创 【leetcode 排列组合问题】Next Permutation | Permutations | Permutations II | Permutation Sequence
leetcode上关于数字排列组合问题有四个,分别是:(1)Next Permutation :已知一个数组代表某个排列组合,求出比其代表的数字大的下一个排列组合,通过重组数组中的数字实现(2)Permutations:已知一组数字,求出所有可以表示出的排列组合(3)Permutations II:已知一组数字可能包含重复,求出所有可以表示出的排列组合(无重复的)(4)Permut
2014-09-03 23:02:20 948
原创 【leetcode】Substring with Concatenation of All Words
题目:You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenation of each word in L exactly
2014-09-03 22:51:47 438
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人