← Amazon questions

Asteroid Collision

Filed under Amazon · Also reported at Flipkart, GoDaddy, Goldman Sachs, Josh Technology, nVent, Oracle, Quince

We are given an array of integers asteroids representing asteroids in a row. The absolute value represents its size, and the sign represents its direction (positive meaning right, negative meaning…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.