2460. Apply Operations to an Array - Explanation

Problem Link