NeetCode #628LC-743MediumAdvanced GraphsNC 150NC 250
← Back to All Problems

#628 · #743 · Network Delay Time(网络延迟时间)

📌 Problem Statement & Constraints

You are given times where times[i] = [u, v, w] is a directed edge taking w time, and n nodes labelled 1..n. Starting from node k, return the time for all nodes to receive the signal, or -1 if impossible. Constraints: 1 <= k <= n <= 100, 1 <= times.length <= 6000, 0 <= w <= 100.
🔒

Sign In to Unlock Full Solutions for All 973 Problems

Sign in to access step-by-step logic, benchmark Python3 code, complexity breakdown, and offline export!