i’m implementing Apriori algorithm. and i need to calculate the combination of a list
for example i have a list containing
ABC
DEF
GHI
JKL
and its out put should be like this
ABCDEF
ABCGHI
ABCJKL
plz tell me that hw i can get the output like this…..
It is called the cartesian product
Simple approach
Flexible approach (published by Eric Lippert)
Use it like
The power comes from being able to do
just as easily