Solution: Graphs

See the solution that finds universal sink in an AdjacencyMatrix.

We'll cover the following...

Task

Here is the task that finds the universal sink in a graph GG. A universal sinkA universal sink, v, is also sometimes called a celebrity: Everyone in the room recognizes v, but v doesn’t recognize anyone else in the room. in a graph ...

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy