Permutation Packages

permutation-way

permutation using Steinhaus-Johnson-Trotter algorithm with Even's speed up. This package deliver asynchronously permutations of the original array

2.0.0 • Published 3 years ago

next_permutation

`next_permutation`是一个全排列功能的函数,可以接收一个字符串s和数字n,可以返回s在全排列中的n步后的字符串(如果已到最后一个排列,则返回最后一个)

0.0.4 • Published 6 years ago