Problems on Intervals & Patterns PART-1
Type 1:
Merge Interval
In this Question,
Step 1:Sort according to their starts, which means sort in ascending order.
Step 2: And while we are merging we just check the
second start element is <= the previous list end element.
If this condition satisf...
akhilstyles.hashnode.dev4 min read