HackClubRAIT / Wizard-Of-Docs

A open source project to bring all the data structures and algorithms docs under one repository.
MIT License
19 stars 42 forks source link

DSA-Array-Python-Merge Intervals #4

Open jen-sjen opened 2 years ago

jen-sjen commented 2 years ago

Description of the change

Adding a python program for hactoberfest 2021

Domain of Docs

Are you contributing under any open-source program ?


siddhi-244 commented 2 years ago

Description of the change

Adding a python program for hactoberfest 2021

Domain of Docs

  • [ ] C
  • [ ] C++
  • [ ] Java -[ ] Python

Are you contributing under any open-source program ?

Wait for issue to be assigned. Describe more about the problem.

jen-sjen commented 2 years ago

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]]

siddhi-244 commented 2 years ago

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]]

You have add this in array folder as merge_overlapping_intervals.md You have to explain the approach properly.

siddhi-244 commented 2 years ago

Assigning this to you !

jen-sjen commented 2 years ago

Hey, so I have to explain the program and write and NOT the code right? It's my first time contributing sorry

siddhi-244 commented 2 years ago

You have to write the code as well as explain it with examples.

jen-sjen commented 2 years ago

Done!... Please review my PR. Thanks