Anonymous user
Railway circuit: Difference between revisions
m
→{{header|Java}}: they're permutations actually
m (→{{header|Java}}: small changes) |
m (→{{header|Java}}: they're permutations actually) |
||
Line 217:
Map<String, int[]> solutions = new HashMap<>();
while (gen.hasNext()) {
Line 250:
}
class
// not thread safe
private int[] indices;
private int[]
private int carry;
indices = new int[numPositions];
}
Line 277:
for (int i = 0; i < indices.length; i++)
return
}
|