Skip to content

Commit a0750f3

Browse files
authored
Update and rename CreatePurmutations.js to createPurmutations.js
1 parent a55f00a commit a0750f3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

String/CreatePurmutations.js renamed to String/createPurmutations.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
17
const createPermutations = (str) => {
28
// convert string to array
39
const arr = str.split('')

0 commit comments

Comments
 (0)