Skip to content

Commit

Permalink
Add permutations/combinations cheat sheets.
Browse files Browse the repository at this point in the history
  • Loading branch information
trekhleb committed Jun 29, 2018
1 parent 00f7502 commit b41cffe
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
17 changes: 16 additions & 1 deletion src/algorithms/sets/combinations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,21 @@ Where `n` is the number of things to choose from, and we
choose `r` of them. Repetition allowed,
order doesn't matter.

## Cheat Sheets

Permutations cheat sheet

![Permutations Cheat Sheet](https://cdn-images-1.medium.com/max/2000/1*JNK-n0Pt0Vbxk0lxVpgT5A.png)

Combinations cheat sheet

![Combinations Cheat Sheet](https://cdn-images-1.medium.com/max/2000/1*7cFRn8jW4g_91YgDAbmxRQ.png)

Permutations/combinations algorithm ideas.

![Algorithms Idea](https://cdn-images-1.medium.com/max/2000/1*vLsSsZMnesCFPCYTYMbxrQ.png)

## References

[Math Is Fun](https://www.mathsisfun.com/combinatorics/combinations-permutations.html)
- [Math Is Fun](https://www.mathsisfun.com/combinatorics/combinations-permutations.html)
- [Permutations/combinations cheat sheets](https://medium.com/@trekhleb/permutations-combinations-algorithms-cheat-sheet-68c14879aba5)
17 changes: 16 additions & 1 deletion src/algorithms/sets/permutations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,21 @@ For example the the lock below: it could be `333`.
n * n * n ... (r times) = n^r
```

## Cheat Sheets

Permutations cheat sheet

![Permutations Cheat Sheet](https://cdn-images-1.medium.com/max/2000/1*JNK-n0Pt0Vbxk0lxVpgT5A.png)

Combinations cheat sheet

![Combinations Cheat Sheet](https://cdn-images-1.medium.com/max/2000/1*7cFRn8jW4g_91YgDAbmxRQ.png)

Permutations/combinations algorithm ideas.

![Algorithms Idea](https://cdn-images-1.medium.com/max/2000/1*vLsSsZMnesCFPCYTYMbxrQ.png)

## References

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

0 comments on commit b41cffe

Please sign in to comment.