Can you find a way to avoid the problems illustrated in the previous exercise without using a new array? Hint: how many cells’ old values need to be retained on each iteration? In your opinion, which version is better: using a complete array or your solution? Justify your answer.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.