deno.land / std@0.139.0 / collections / permutations.ts

import * as mod from "https://deno.land/std@0.139.0/collections/permutations.ts";

Functions

permutations

Builds all possible orders of all elements in the given array Ignores equality of elements, meaning this will always return the same number of permutations for a given length of input.

std
Deno standard library
GitHub Stars
2178
Go to latest

Version Info

Tagged at
a month ago