[LeetCode] Next Permutation

代码: 1 class Solution { 2 public: 3 void nextPermutation(vector<int> &num) { 4 5 const auto first = num.begin(); 6 const auto last = num.end(); 7 auto pivot = prev(l
相关文章
相关标签/搜索