Rosetta Problems

Apply Operations to an Array

https://leetcode.com/problems/apply-operations-to-an-array