5 Answers · Find the largest index k such that a[k] < a[k + 1]. If no such index exists, the permutation is the last permutation. · Find the ...
確定! 回上一頁