A repository for beginner contributors in Hacktoberfest '22. You can create a file , upload a new project and create a pull/merge request. Make sure the program is error free and well commented. Multiple languages allowed
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.
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.
Examples:![image](https://user-images.githubusercontent.com/91279248/197267585-47a08e76-445c-48e8-b7b2-31f301865e99.png)