Available question text
Rotate an m×n grid 90° clockwise and simulate gravity so each stone '#' falls until blocked by an obstacle '*' or another stone, returning the resulting n×m grid. The core challenge is compacting stones within obstacle-separated segments toward the gravity direction after rotation.
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
Snowflake
Leetcode 1861. Rotating the Box
Reported Aug 27, 2025 · 1 source report
MID_LEVEL
Source snapshot: Nov 12, 2026
View source