fabrisodotps1 / ps-heapalgo-permutations

Generates all permutations of n objects with the heap algorithm.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Generates all permutations of n objects with the heap algorithm.


Languages

Language:PowerShell 100.0%