diff --git a/src/algorithms/math/cartesian-product/README.md b/src/algorithms/math/cartesian-product/README.md index 208905fe..dd74a758 100644 --- a/src/algorithms/math/cartesian-product/README.md +++ b/src/algorithms/math/cartesian-product/README.md @@ -5,6 +5,10 @@ In set theory a Cartesian product is a mathematical operation that returns a set the Cartesian product A × B is the set of all ordered pairs (a, b) where a ∈ A and b ∈ B. +Cartesian product `AxB` of two sets `A={x,y,z}` and `B={1,2,3}` + ![Cartesian Product of Two Sets](https://github.com/trekhleb/javascript-algorithms/blob/master/assets/cartesian-product.png) -Image from [Wikipedia](https://en.wikipedia.org/wiki/Cartesian_product) +## References + +[Wikipedia](https://en.wikipedia.org/wiki/Cartesian_product)