Pregunta de entrevista de Microsoft

Implement a function that returns a boolean of whether two rectangles overlap.