Available question text
Given a starting mass and asteroid masses, determine whether you can order collisions so the planet can sequentially absorb every asteroid (absorbing requires current mass >= asteroid and increases the planet's mass). The core challenge is a greedy cumulative-sum check (sort small-to-large) to see if the planet's mass can stay >= each next asteroid.
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
Meta
Leetcode 2126. Destroying Asteroids
Reported Mar 12, 2026 · 2 source reports
MID_LEVEL, SENIOR
Source snapshot: Nov 12, 2026
View source