MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / permutations.py

File permutations.py

data_structures/arrays/permutations.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1def permute_recursive(nums: list[int]) -> list[list[int]]:
2 """
3 Return all permutations.
4

Callers

nothing calls this directly

Calls 1

permute_backtrackFunction · 0.85

Tested by

no test coverage detected