Given an array of intervals, merge all overlapping intervals and return the non-overlapping intervals that cover all the input.
Practise this challenge
All coding challenges