Pregunta de entrevista de Carestream Health

How would you design a traffic light system?