You are given an integer length and an array updates where updates[i] = [startIdx_i, endIdx_i, inc_i].You have an array arr of length length with all zeros, and you have some operation to apply on arr. In the i^th operation, you should increment all the elements arr[startIdx_i], arr[startIdx_i + 1], ..., arr[endIdx_i] by inc_i.Return arrafter applying all theupdates.