In our ship-signaling analogy, all the data processing occurred as the signal traveled back from the farthest ship to the admiral’s ship. With this recursive procedure, only the admiral sees the total number of casualties. The captains of all other ships see only the cumulative casualties from ships that are farther away. Suggest a modification to the recursive procedure that enables every ship’s captain to see the total number of casualties.
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.