Pregunta de entrevista de Autodesk

Given 2 rectangles, how would you determine if they intersect?