![]() |
Python
1.0
|
Full permutation. More...
Functions | |
def | perm (n, i) |
The full permutation of list "n" can be solved by picking any element, placing it in the first, and recursively solving the smaller problem. More... | |
Full permutation.
def _12_perm2.perm | ( | n, | |
i | |||
) |
The full permutation of list "n" can be solved by picking any element, placing it in the first, and recursively solving the smaller problem.
n | list to have its elements permuted. |
i | first element index. |