Question d’entretien chez Microsoft

How do you check if two rectangles are overlapping?