Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
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:
Meta
Amazon
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Late July, 2025
Amazon
Mid-level
Late November, 2024
Meta
Junior
Solve a variation of the Asteroid Collision problem
Early October, 2024
Amazon
Intern
Asteroid Collision - Implement a solution to determine the state of asteroids after collisions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.