Skip to content

Commit 3a2c9c1

Browse files
committed
add pernumtation
1 parent 1728259 commit 3a2c9c1

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

permutations/README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1+
## Definition
2+
3+
4+
```
5+
6+
permute(num) = empty num is empty
7+
num num has only one element
8+
n + permute(num - n) [n in num] otherwise
9+
10+
```
11+
112

2-
## TODO
3-
* write down thinking
413

0 commit comments

Comments
 (0)