Pregunta de entrevista de Nuvalence

Write an api for overlapping rectangles.