[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
相關文章
相關標籤/搜索