Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Can you find a different way to describe the question?
The minimum number of groups we need is equivalent to the maximum number of intervals that overlap at some point. How can you find that?