Update Permutation and Combination cheatsheets. (#963)
@ -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
|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Combinations cheat sheet
|
| | |
|
||||||
|
| --- | --- |
|
||||||
|
| |  |
|
||||||
|
|
||||||

|
*Made with [okso.app](https://okso.app)*
|
||||||
|
|
||||||
Permutations/combinations algorithm ideas.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## References
|
## References
|
||||||
|
|
||||||
|
After Width: | Height: | Size: 345 KiB |
After Width: | Height: | Size: 324 KiB |
After Width: | Height: | Size: 302 KiB |
BIN
src/algorithms/sets/combinations/images/overview.png
Normal file
After Width: | Height: | Size: 142 KiB |
@ -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
|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Combinations cheat sheet
|
| | |
|
||||||
|
| --- | --- |
|
||||||
|
| |  |
|
||||||
|
|
||||||

|
*Made with [okso.app](https://okso.app)*
|
||||||
|
|
||||||
Permutations/combinations algorithm ideas.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## References
|
## References
|
||||||
|
|
||||||
|
BIN
src/algorithms/sets/permutations/images/overview.png
Normal file
After Width: | Height: | Size: 142 KiB |
After Width: | Height: | Size: 307 KiB |
After Width: | Height: | Size: 301 KiB |
After Width: | Height: | Size: 364 KiB |