title: What's an efficient data structure/technique for detecting overlapping rectangles?
body: <p>I'm working on a dashboarding application and want to be able to quickly tell if a new widget overlaps any other and if so, which ones it overlaps. Each widget is a rectangle with a left, top, width, and height dimension. Is there an efficient data structure I can use or way to do this?</p>