Apple Interview Question

State machine for a traffic light controller