6 lines
200 B
Scala
6 lines
200 B
Scala
|
|
if ((nrOfElements + maxRecursion) < n) {
|
||
|
|
for (i <- nrOfElements + createStep to n by createStep) {
|
||
|
|
mapCurrent.getOrElseUpdate(i, ack(m, i))
|
||
|
|
}
|
||
|
|
}
|