Graph Theory37 sections · 1633 units
Open in Course

LeetCode 743 Network Delay Time - Problem Statement

Find minimum time for signal propagation

Problem: Network Delay Time Task: You have a network of nn nodes with weighted directed edges. Signal starts from node kk. Find the minimum time for all nodes to receive the signal.

If impossible, return 1-1. Run Dijkstra from node kk. The answer is the maximum distance among all reachable nodes. If any node is unreachable, return 1-1. This is a direct application of single-source shortest paths. The "delay time" is the longest shortest path from the source.