Search
⌘K
Leetcode 735. Asteroid Collision
Given signed integers for asteroid sizes and directions, determine which asteroids remain after sequential collisions where only opposite-moving neighbors (positive then negative) meet and the smaller (or both if equal) explode; this is typically solved by simulating collisions with a stack.
Asked at:
JPMorgan Chase
Meta
Amazon
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Late March, 2026
JPMorgan Chase
Mid-level
Late July, 2025
Amazon
Mid-level
Late November, 2024
Meta
Junior
Solve a variation of the Asteroid Collision problem
Hello Interview Premium
Your account is free and you can post anonymously if you choose.