Update createPurmutations.js

This commit is contained in:
Rubin Bhandari
2020-10-15 16:39:00 +05:45
committed by GitHub
parent a0750f37b3
commit 90c4900cca

View File

@ -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.
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
/*
*/
const createPermutations = (str) => {
// convert string to array