Pergunta de entrevista da empresa Microsoft

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