From 1fd5131c60a618721871d1e11eb82e85d4d1b076 Mon Sep 17 00:00:00 2001 From: Oleksii Trekhleb Date: Fri, 13 Apr 2018 17:46:41 +0300 Subject: [PATCH] Update READMEs. --- src/algorithms/math/cartesian-product/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)