← ALL NOTES
Array

3355. Zero Array Transformation I

Given an array nums and queries queries=[l,r]. Each query lets you decrement by 1 any subset of the elements on the range [l, r]. Determine whether, after applying all queries (in order), the array…

Loading…