You are given an integer n representing the number of nodes in a directed graph labeled from edges where edges[i]
Each entry in edges indicates a directed edge from node
You start at node
Return the minimum time required to reach node
Constraints:
n
edges.length
edges[i]
You are given an integer n representing the number of nodes in a directed graph labeled from edges where edges[i]
Each entry in edges indicates a directed edge from node
You start at node
Return the minimum time required to reach node
Constraints:
n
edges.length
edges[i]