diff --git a/13. Overlapping Intervals.cpp b/13. Overlapping Intervals.cpp index 8b13789..1234076 100644 --- a/13. Overlapping Intervals.cpp +++ b/13. Overlapping Intervals.cpp @@ -1 +1,31 @@ +// Problem link - https://bit.ly/48zi1vM +class Solution { +public: + vector> overlappedInterval(vector>& intervals) { + // Code here + sort(intervals.begin(), intervals.end()); + int interval=0, n=intervals.size(); + vector> ans; + while(interval