问题:给出一个没有重复的数组,要求输出所有的排列
思路:先排序,然后使用STL中的next_permution
具体参考:
https://github.com/wuli2496/OJ/tree/master/LeetCode/Permutations
问题:给出一个没有重复的数组,要求输出所有的排列
思路:先排序,然后使用STL中的next_permution
具体参考:
https://github.com/wuli2496/OJ/tree/master/LeetCode/Permutations