Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals in the input.
Example 1:
Input: intervals = [[1,3],[2,6],[8,10],[15,18]]
Output: [[1,6],[8,10],[15,18]]
Explanation: Since intervals [1,3] and [2,6] overlaps, merge them into [1,6].
Example 2:
Input: intervals = [[1,4],[4,5]]
Output: [[1,5]]
Explanation: Intervals [1,4] and [4,5] are considered overlapping.
Is it for me?
Are you an engineering manager who wants to keep your coding skills sharp?
Are you Software engineer who wants to move sometime in 1+ years?
If you answered YES to any of the questions - You have come to the right place.
How to Join Us
Join us and practice coding
Every Saturday 11:00 am pst
**To JOIN just click
Saturday, April 9 · 6:00 – 7:00pm PST
Google Meet joining info
Video call link: https://meet.google.com/hfg-mnuc-yeb
#systemdesign #interview #softwareengineering #facebook #google #amazon #computerscience #algorithms #datastructures