We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a55f00a commit a0750f3Copy full SHA for a0750f3
1 file changed
String/CreatePurmutations.js String/createPurmutations.jsString/CreatePurmutations.js renamed to String/createPurmutations.js
@@ -1,3 +1,9 @@
1
+/*
2
+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.
3
+The word "permutation" also refers to the act or process of changing the linear order of an ordered set
4
+More at : https://en.wikipedia.org/wiki/Permutation
5
6
+
7
const createPermutations = (str) => {
8
// convert string to array
9
const arr = str.split('')
0 commit comments