diff --git a/String/CreatePurmutations.js b/String/createPurmutations.js similarity index 70% rename from String/CreatePurmutations.js rename to String/createPurmutations.js index 3df7a6d94..8f3bc708b 100644 --- a/String/CreatePurmutations.js +++ b/String/createPurmutations.js @@ -1,3 +1,9 @@ +/* +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 const arr = str.split('')