Tag Archives: permute lists

Permuting Lists of Lists – Print all possible words from phone digits

Given a list of arraylists containing elements, write a function that prints out the permutations of of the elements such that, each of the permutation set contains only 1 element from each arraylist and there are no duplicates in the list of permutation sets. For example: consider the following lists L1= {a1,b1,c1,d1} L2= {a2,b2,c2} L3= […]