The explanation for the example in problem Array Modification is missing.
Just apply the given logic in the problem statement on the sample case provided.
read the question until you understand the sample test case
then apply your logic
don’t ask questions for on going contests in discussion.
you can directly ask ur doubts in comment section of the question (bottom of the problem page).