AKUNA CAPITAL Interview Question

How would you design a system for traffic lights at an interchange