← Morgan Stanley questions

Shortest path in server network

Filed under Morgan Stanley

Given a network of servers connected by bidirectional cables with uniform latency, find the shortest path between source and destination servers for multiple test cases.

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.