GoogleCoding·40 minMembers
Shortest Directed Cycle Through a Node
Members only
Round 4 of a 4-round NG loop. BFS from the target node in a directed graph; return the moment BFS re-enters the node.
SWE
graph
bfs
medium
Frequency
Single report
Last asked
—
Stage
onsite-coding
Log in to continue reading the full content
