Skip to content

Files

Latest commit

2382225 · Dec 5, 2018

History

History
This branch is 331 commits behind trekhleb/javascript-algorithms:master.

cartesian-product

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 26, 2018
Apr 26, 2018
Dec 5, 2018

Cartesian Product

In set theory a Cartesian product is a mathematical operation that returns a set (or product set or simply product) from multiple sets. That is, for sets A and B, 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

References

Wikipedia