摘要: Permutations IIGiven a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the follow... 阅读全文
posted @ 2015-12-01 16:08 `Liok 阅读(336) 评论(0) 推荐(0) 编辑
摘要: Next PermutationImplement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangemen... 阅读全文
posted @ 2015-12-01 15:48 `Liok 阅读(478) 评论(0) 推荐(0) 编辑
摘要: Burst BalloonsGivennballoons, indexed from0ton-1. Each balloon is painted with a number on it represented by arraynums. You are asked to burst all the... 阅读全文
posted @ 2015-12-01 11:46 `Liok 阅读(1022) 评论(0) 推荐(0) 编辑