If the current and previous intervals does not overlap each other, append the current interval to themergedarray. Else, merge both previous and current intervals and insert it into themergedarray. C++ Code vecto