Pregunta de entrevista de AImotive

Code an algorithm that will solve the road intersection problem