Skip to content

Commit b41cffe

Browse files
committedJun 29, 2018
Add permutations/combinations cheat sheets.
1 parent 00f7502 commit b41cffe

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed
 

‎src/algorithms/sets/combinations/README.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,21 @@ Where `n` is the number of things to choose from, and we
5050
choose `r` of them. Repetition allowed,
5151
order doesn't matter.
5252

53+
## Cheat Sheets
54+
55+
Permutations cheat sheet
56+
57+
![Permutations Cheat Sheet](https://cdn-images-1.medium.com/max/2000/1*JNK-n0Pt0Vbxk0lxVpgT5A.png)
58+
59+
Combinations cheat sheet
60+
61+
![Combinations Cheat Sheet](https://cdn-images-1.medium.com/max/2000/1*7cFRn8jW4g_91YgDAbmxRQ.png)
62+
63+
Permutations/combinations algorithm ideas.
64+
65+
![Algorithms Idea](https://cdn-images-1.medium.com/max/2000/1*vLsSsZMnesCFPCYTYMbxrQ.png)
66+
5367
## References
5468

55-
[Math Is Fun](https://www.mathsisfun.com/combinatorics/combinations-permutations.html)
69+
- [Math Is Fun](https://www.mathsisfun.com/combinatorics/combinations-permutations.html)
70+
- [Permutations/combinations cheat sheets](https://medium.com/@trekhleb/permutations-combinations-algorithms-cheat-sheet-68c14879aba5)

‎src/algorithms/sets/permutations/README.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,21 @@ For example the the lock below: it could be `333`.
3737
n * n * n ... (r times) = n^r
3838
```
3939

40+
## Cheat Sheets
41+
42+
Permutations cheat sheet
43+
44+
![Permutations Cheat Sheet](https://cdn-images-1.medium.com/max/2000/1*JNK-n0Pt0Vbxk0lxVpgT5A.png)
45+
46+
Combinations cheat sheet
47+
48+
![Combinations Cheat Sheet](https://cdn-images-1.medium.com/max/2000/1*7cFRn8jW4g_91YgDAbmxRQ.png)
49+
50+
Permutations/combinations algorithm ideas.
51+
52+
![Algorithms Idea](https://cdn-images-1.medium.com/max/2000/1*vLsSsZMnesCFPCYTYMbxrQ.png)
53+
4054
## References
4155

42-
[Math Is Fun](https://www.mathsisfun.com/combinatorics/combinations-permutations.html)
56+
- [Math Is Fun](https://www.mathsisfun.com/combinatorics/combinations-permutations.html)
57+
- [Permutations/combinations cheat sheets](https://medium.com/@trekhleb/permutations-combinations-algorithms-cheat-sheet-68c14879aba5)

0 commit comments

Comments
 (0)
Please sign in to comment.