![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
#BackTracking
TechJungle
这个作者很懒,什么都没留下…
展开
-
LeetCode Backtracking 46 Permutations 47 Permutationsll
46. PermutationsGiven a collection of distinct integers, return all possible permutations.Example:Input: [1,2,3]Output:[[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]]solution由于是要得到所有的排...原创 2019-12-22 00:53:46 · 99 阅读 · 0 评论 -
LeetCode String 22 Generate Parentheses
22. Generate ParenthesesGiven n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a solution set is:[“((()))”,“(()())”,“(()...原创 2019-12-20 01:13:19 · 101 阅读 · 0 评论 -
LeetCode Array 55 Jump Game
55. Jump GameGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that position.Det...原创 2019-11-16 14:44:48 · 114 阅读 · 0 评论