From d3d8a467e540f0d9aac645e2b4acda6f2dd975b7 Mon Sep 17 00:00:00 2001 From: Oleksii Trekhleb Date: Fri, 13 Apr 2018 17:38:00 +0300 Subject: [PATCH] Update READMEs. --- src/algorithms/string/permutations/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/algorithms/string/permutations/README.md b/src/algorithms/string/permutations/README.md index 64b7f0bde..726175fce 100644 --- a/src/algorithms/string/permutations/README.md +++ b/src/algorithms/string/permutations/README.md @@ -7,3 +7,13 @@ A string of length `n` has `n!` permutation. Below are the permutations of string `ABC`. `ABC ACB BAC BCA CBA CAB` + +When the order doesn't matter, it is a **Combination**. + +When the order **does** matter it is a **Permutation**. + +![Permutation Lock](https://www.mathsisfun.com/combinatorics/images/combination-lock.jpg) + +## References + +[Math Is Fun](https://www.mathsisfun.com/combinatorics/combinations-permutations.html)