← Questions

Step a set of moving vehicles until the first collision

0
Applied IntuitionCodingLast asked Jun 2026

Each vehicle is a circle with a position, heading, constant speed and turn rate. Advance them in small fixed time steps and stop at the first time two of them touch, reporting which ones and when.

Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding