Write a boolean function, called universalSink, to determine weather a directed graph has a universal sink. A universal sink is a vertex which has no outgoing edges, and all other vertices have an incoming edge to the sink vertex.
Write a boolean function, called universalSink, to determine weather a directed graph has a universal sink. A universal sink is a vertex which has no outgoing edges, and all other vertices have an incoming edge to the sink vertex.
Related questions
Question
Write a boolean function, called universalSink, to determine weather a directed graph has a universal sink. A universal
sink is a vertex which has no outgoing edges, and all other vertices have an incoming edge to the sink vertex.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps