← Questions
Minimum broadcast latency between cities
0
I was asked this
No reports yet. Sign in to say where you were asked it.
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.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding
