Apply Operations To An Array Leetcode Problems And Solutions