Available question text
Given each monster's time-to-arrival (dist/speed) and the ability to kill one monster per minute starting at time 0, determine how many monsters you can eliminate before any monster's arrival time causes an unavoidable loss. This reduces to a scheduling/greedy problem: compute arrival times, sort by earliest deadline, and greedily assign one-minute kill slots to count how many monsters can be removed (n up to 1e5).
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 1921. Eliminate Maximum Number of Monsters
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source