From a0750f37b31f134acc53c913b51636007e7481b4 Mon Sep 17 00:00:00 2001 From: Rubin Bhandari Date: Thu, 15 Oct 2020 16:38:32 +0545 Subject: [PATCH] Update and rename CreatePurmutations.js to createPurmutations.js --- String/{CreatePurmutations.js => createPurmutations.js} | 6 ++++++ 1 file changed, 6 insertions(+) rename String/{CreatePurmutations.js => createPurmutations.js} (70%) 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('')