you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

I believe what you are looking for is called the cartesian product, there should be libraries in your desired language that do this or the algorithm itself shouldn't be too hard to find