Minimum Number of Increments on Subarrays to Form a Target Array

Hard

A written explanation for this problem is on the way. In the meantime, watch the video above or try it on LeetCode.