# Eliminate Maximum Number of Monsters (LeetCode 1921)
## Approach
Sort arrival; eliminate earliest threat each minute.
## Edge cases
Confirm constraints (n, value ranges) before coding. State time and space complexity up front in interviews.
## Practice tip
Talk through invariants while coding so the interviewer can follow your reasoning.
Practice with [here](https://www.linkjob.ai/).