Meta Interview Question

continuous subarray sum, merge intervals