Question d’entretien chez Intuit

Given two rectangles, how do you determine when they overlap?