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