Domanda di colloquio di JPMorganChase

How would you represent a city's traffic light system in object oriented programming?