摘要: 46. Permutations (全排列) 47. Permutations II (全排列有重复的元素) 27字符串的排列 60. Permutation Sequence(求全排列的第k个排列) 31. Next Permutation (下一个全排列) 28. Implement strSt 阅读全文
posted @ 2018-03-10 11:50 乐乐章 阅读(103) 评论(0) 推荐(0) 编辑
摘要: Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not possib 阅读全文
posted @ 2018-03-10 11:49 乐乐章 阅读(289) 评论(0) 推荐(0) 编辑