← Morgan Stanley questions

Traffic Light Synchronization

Filed under Morgan Stanley

Implement a traffic light synchronization mechanism using semaphores and threads to control two conflicting perpendicular road traffic directions with Red and Green signals, avoiding deadlocks and…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Morgan Stanley questions

Collected from public candidate posts and coding forums. Updated Nov 2026.