Pergunta de entrevista da empresa Applied Intuition

Given the location and trajectory of several objects, construct a simulation to verify if/when the objects collide