Sweep Line Technique : The Secret Weapon for Range & Geometry Problems , Part-2
Sweep Line Ideas :
Question :-Given N Intervals Of The Form -> L,RN<=10^5L,R <= 10^9
1 - Find Union Of All :The union of two sets contains all elements from both sets, with common elements included only once
Example :Intervals :
[1,5]
[3,7]
Numb...