Minimum broadcast latency between cities

0
Remix

Cities are linked by network connections, each with a latency. A broadcast starts from a source city and travels along the links. Compute the shortest latency from the source to every city (and the time until every city has the message), or report cities that can't be reached. Use Dijkstra's algorithm and state its complexity.

NetflixTechnical phone screenLast asked Aug 2026
No answer yet. Write the first one; the best answer gets endorsed.