C
Caroline
I need to write a method that accepts say three lists of strings and
generates all possible combinations of strings from these lists in the
order that the lists are provided.
eg:
list1 list2 list3
A B Z
B C Y
C D X
The method would need to generate the following strings:
ABZ
ABY
ABX
ACZ
ACY
ACX
ADZ
ADY
ADZ
BBZ.... and so on up to CDX
Can anyone help me?
generates all possible combinations of strings from these lists in the
order that the lists are provided.
eg:
list1 list2 list3
A B Z
B C Y
C D X
The method would need to generate the following strings:
ABZ
ABY
ABX
ACZ
ACY
ACX
ADZ
ADY
ADZ
BBZ.... and so on up to CDX
Can anyone help me?