Available question text
Given an m×n grid where a brick is stable if connected to the top (directly or via neighboring bricks), apply a sequence of hits that remove bricks and return how many additional bricks fall after each hit. The algorithmic challenge is to compute these results efficiently for up to 200×200 grids and many hits by reasoning in reverse and tracking connectivity (e.g., with Union-Find) to the top.
Related questions
Continue with questions that share topics or the same question type.
- Design a Battleship Game: Implement Hit, Miss, or Sunk Detection
Coding
- Design Hit Counter
Coding · Array · Binary Search · Data Stream
- Falling Squares
Coding
- Minimum Falling Path Sum
Coding
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 803. Bricks Falling When Hit
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source