Someone
public java v1 · immutablefor (long i=0; i<maxpermutations-1; i++) { // increase first position mutword[0]++; // carry? int j=0; while (mutword[j] >= MAXAAVAL) { mutword[j] = 0; mutword[j+1]++; j++; } }for (long i=0; i<maxpermutations-1; i++) { // increase first position mutword[0]++; // carry? int j=0; while (mutword[j] >= MAXAAVAL) { mutword[j] = 0; mutword[j+1]++; j++; } }