Zero Array Transformation II
Given an integer array `nums` and a list of queries where each query is [start, end], return the minimum number of queries needed to make the array all zeros.
Given an integer array `nums` and a list of queries where each query is [start, end], return the minimum number of queries needed to make the array all zeros.