Merge Intervals at Atlassian
Medium51.1% acceptance
This problem has 75.0% frequency at Atlassian.
Problem Description
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_.
Read full problem and hintsTopics
Also asked at 108 companies
More Atlassian Questions
Rank Teams by VotesMediumHigh-Access EmployeesMediumText JustificationHardMake Lexicographically Smallest Array by Swapping ElementsMediumMinimum Cost to Convert String IMedium
View all Atlassian questions