Available question text
Given a main axis-aligned bounding box (x1, y1, x2, y2) and a list of other axis-aligned bounding boxes, write a function that computes the total area inside the main bounding box covered by the union of the other boxes. Boxes may overlap (overlapping regions should only be counted once), and boxes may lie partially or completely outside the main bounding box (only the portion inside the main bounding box should be considered).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Qsc
Bounding Box Overlap
Reported Apr 20, 2026 · 1 source report
SENIOR
Source snapshot: Nov 12, 2026
View source