Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSA-Array-Python-Merge Intervals #56

Closed
jen-sjen opened this issue Sep 30, 2021 · 1 comment
Closed

DSA-Array-Python-Merge Intervals #56

jen-sjen opened this issue Sep 30, 2021 · 1 comment
Assignees
Labels
hacktoberfest-accepted HacktoberFest 2021

Comments

@jen-sjen
Copy link
Contributor

Hey there, I'm participating in #hactoberfest2k21, Please assign me the issue. Good day!
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:
Input: intervals = [[1,3],[2,5]]
Output: [[1,5]]

@jen-sjen
Copy link
Contributor Author

jen-sjen commented Oct 1, 2021

Hey, please merge the PR for this issue, thanks :)
PR: #115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted HacktoberFest 2021
Projects
None yet
Development

No branches or pull requests

2 participants