Update Permutation and Combination cheatsheets. (#963)

This commit is contained in:
Oleksii Trekhleb 2022-11-28 16:43:30 +01:00 committed by GitHub
parent 565256088a
commit 025b9a390b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 25 additions and 29 deletions

View File

@ -50,19 +50,17 @@ Where `n` is the number of things to choose from, and we
choose `r` of them. Repetition allowed, choose `r` of them. Repetition allowed,
order doesn't matter. order doesn't matter.
## Cheat Sheets ## Cheatsheet
Permutations cheat sheet ![Permutations and Combinations Overview](./images/overview.png)
![Permutations Cheat Sheet](https://cdn-images-1.medium.com/max/2000/1*JNK-n0Pt0Vbxk0lxVpgT5A.png) ![Combinations overview](./images/combinations-overview.jpg)
Combinations cheat sheet | | |
| --- | --- |
|![Combinations with repetition](./images/combinations-with-repetitions.jpg) | ![Combinations without repetition](./images/combinations-without-repetitions.jpg) |
![Combinations Cheat Sheet](https://cdn-images-1.medium.com/max/2000/1*7cFRn8jW4g_91YgDAbmxRQ.png) *Made with [okso.app](https://okso.app)*
Permutations/combinations algorithm ideas.
![Algorithms Idea](https://cdn-images-1.medium.com/max/2000/1*vLsSsZMnesCFPCYTYMbxrQ.png)
## References ## References

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

View File

@ -37,19 +37,17 @@ For example the the lock below: it could be `333`.
n * n * n ... (r times) = n^r n * n * n ... (r times) = n^r
``` ```
## Cheat Sheets ## Cheatsheet
Permutations cheat sheet ![Permutations and Combinations Overview](./images/overview.png)
![Permutations Cheat Sheet](https://cdn-images-1.medium.com/max/2000/1*JNK-n0Pt0Vbxk0lxVpgT5A.png) ![Permutations overview](./images/permutations-overview.jpeg)
Combinations cheat sheet | | |
| --- | --- |
|![Permutations with repetition](./images/permutations-with-repetitions.jpg) | ![Permutations without repetition](./images/permutations-without-repetitions.jpg) |
![Combinations Cheat Sheet](https://cdn-images-1.medium.com/max/2000/1*7cFRn8jW4g_91YgDAbmxRQ.png) *Made with [okso.app](https://okso.app)*
Permutations/combinations algorithm ideas.
![Algorithms Idea](https://cdn-images-1.medium.com/max/2000/1*vLsSsZMnesCFPCYTYMbxrQ.png)
## References ## References

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 KiB