Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What does the initial matrix W⁰ represent?
Think about how connections in a graph are shown.
What is the time complexity of Warshall's Algorithm?
How does this compare to the naive approach?
What operation is used to compute connectivity in Warshall's Algorithm?
Think about the type of entries present in the matrix.
True or False: Warshall's Algorithm can be used to find all paths between nodes in a directed graph.
What does the term transitive suggest about the paths?
Given a directed graph with nodes A, B, C, and direct connections A to B and B to C, compute the transitive closure step-by-step.
Remember to consider all paths through any intermediate nodes at each step.
What would happen to the connectivity matrix if a new direct edge is added from node C to node A?
Consider directly how this changes the paths available.
5 more questions in this section. Enroll free to practise them all.
Enroll free