Available question text
Given a set of rectangles on a 2D plane, find the maximum number of rectangles that can be crossed by a single straight vertical or horizontal line. A line crosses a rectangle if it passes through its interior.
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
Google
Maximum Rectangles Crossed by a Single Line
Reported Sep 23, 2026 · 1 source report
MID_LEVEL
Source snapshot: Nov 12, 2026
View source