Domanda di colloquio di Autodesk

Given 2 rectangles, how would you determine if they intersect?