Apply Operations To An Array Leetcode Problems Dsa