mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-06 01:18:23 +08:00
Update createPurmutations.js
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
a permutation of a set is, loosely speaking, an arrangement of its members into a sequence or linear order, or if the set is already ordered, a rearrangement of its elements.
|
a permutation of a set is, loosely speaking, an arrangement of its members into a sequence or linear order, or if the set is already ordered, a rearrangement of its elements.
|
||||||
The word "permutation" also refers to the act or process of changing the linear order of an ordered set
|
The word "permutation" also refers to the act or process of changing the linear order of an ordered set
|
||||||
More at : https://en.wikipedia.org/wiki/Permutation
|
More at : https://en.wikipedia.org/wiki/Permutation
|
||||||
/*
|
*/
|
||||||
|
|
||||||
const createPermutations = (str) => {
|
const createPermutations = (str) => {
|
||||||
// convert string to array
|
// convert string to array
|
||||||
|
Reference in New Issue
Block a user