Cruise interview question

Design question around traffic light detection.