algorithm 04 prev_permutation

功能:返回当前排列的前一个排列

4 3 2 1
4 3 1 2
4 2 3 1
4 2 1 3

原文地址:https://www.cnblogs.com/xpylovely/p/15218973.html