Pergunta de entrevista da empresa Surgical Science

how plastic collision detection could be optimized beyond an O(n^2) solution? also is the design memory efficient