Pregunta de entrevista de Waymo

write some code to solve a proximity based problem