CLOSE

Zero Array Transformation 1

Given an array nums and a list of queries [li, ri], each query allows selecting any subset of indices in that range and decrementing those values by 1. Return true if it's possible to make all elements in nums zero after applying all queries.

Read More