public class CombinatoricalUtils {
public ArrayList<String> result;
public ArrayList<String> getResult() {
return result;
}
private void generatePermutations(ArrayList<ArrayList<String>> lists, List<String> result, int depth, String current) {
if (depth ==...