← Questions
Step a set of moving vehicles until the first collision
0
I was asked this
No reports yet. Sign in to say where you were asked it.
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.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding
