Available question text
Given a sequence of squares specified by left coordinate and side length, simulate dropping them onto the x-axis where each square lands on top of any existing squares whose x-intervals overlap it, and return the height of the tallest stack after each drop. The core challenge is maintaining and updating interval maximum heights under range overlaps (commonly solved with coordinate compression plus segment tree/interval checks or efficient O(n^2) overlap scans).
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
No company association
Leetcode 699. Falling Squares
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source