Pregunta de entrevista de Microsoft

Write code to tell if two rectangles are intersecting.