package
Version:
v0.0.0-...-d40efbb
Opens a new window with list of versions in this module.
Published: Mar 8, 2020
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func TimeAllNodesReceiveMessage(n int, edges []Edge) int
TimeAllNodesReceiveMessage returns the time required for all edges to
receive the message originating from node '0'.
Nodes are from 0 to N inclusive.
type Edge struct {
Start, End, Time int
}
Edge represents a directed edge from a start to an end with a time cost.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.