You are viewing a single comment's thread. Return to all comments →
Here is a good explanation of a next lexicographical permutation algorithm:
http://www.nayuki.io/page/next-lexicographical-permutation-algorithm
Seems like cookies are disabled on this browser, please enable them to open this website
Bigger is Greater
You are viewing a single comment's thread. Return to all comments →
Here is a good explanation of a next lexicographical permutation algorithm:
http://www.nayuki.io/page/next-lexicographical-permutation-algorithm