Lecseruz's blog

By Lecseruz, history, 7 weeks ago, In English

Hi guys. So, i have this problem on homework in the college. And i have to solve it in 1 hour. I got no ideas. I hope you can help me. So we got N rectangles. And we're given (x1, y1), (x2, y2), coordinates of bottom left corner and top right corner, respectively. For each rectangle, we have to find the number of rectangles it intersects with.

 
 
 
 
  • Vote: I like it
  • -7
  • Vote: I do not like it