Rosetta Problems

Apply Operations to Make All Array Elements Equal to Zero

https://leetcode.com/problems/apply-operations-to-make-all-array-elements-equal-to-zero