Problem 4056 · Easy

Number of Intersecting Interval Pairs I

Check each pair of closed intervals and count the pairs that share at least one point, including a shared endpoint.

Open the interactive visualisation