Domanda di colloquio di Microsoft

Write code to tell if two rectangles are intersecting.