GitHunt
FA

fabrisodotps1/ps-heapalgo-permutations

Generates all permutations of n objects with the heap algorithm.

Permutations with the heap algorithm

PowerShell script to create permutations from an input array with the heap algorithm.

Example:

PS> Permutation.ps1 -ToPermute 1,2,3

Languages

PowerShell100.0%

Contributors

Created October 23, 2022
Updated October 24, 2022