Question d’entretien chez Microsoft

Write code to tell if two rectangles are intersecting.