Let $S$ be a set of $n$ lines in the plane and $I$ the set of their intersections. That is $I = \{(x,y)\in \mathbb{R}^2; (x,y)=s \cap r, \text{where } s,r \in S\}$. The task is to compute the bounding box of $I$ in $O(n\log(n))$. So to find the smallest rectangle parallel to coordinate axis that has $I$ in its interior.
I started by sorting the lines by their slope and figuring only the first and last intersection of a line with other lines are of interest. I suppose I need one more idea to make a solution out of it.