Pergunta de entrevista da empresa Amazon

How to design a cross-road traffic light system?