AmazonCodingMembers
Asteroid Collision (LC 735)
Members only
Given signed asteroid sizes, simulate collisions: positive values move right, negative values move left, the smaller absolute size explodes, and equal sizes both disappear. Return the survivors.
SWE
stack
simulation
array
medium
Frequency
Single report
Last asked
2026-08-16
Stage
onsite-coding
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
