Skip to content

Commit 10c7bc9

Browse files
committed
feat: give more information for the exercise
1 parent cbef253 commit 10c7bc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

16_permutations/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Exercise 16 - permutations
22

3-
Write a function that takes in an input array and returns an array of all possible permutations of the array
3+
Write a function that takes in an input array of an consecutive positive integers, starting at 1, and returns an array of all possible permutations of the original array
44

55
```javascript
66
permutations([1,2,3]); // [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]]

0 commit comments

Comments
 (0)