Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What is a spanning tree?
Think about what it means to connect all points without returning to the same point.
How many edges does a spanning tree with n vertices have?
Relate it to the number of vertices.
What is the definition of a spanning tree?
Consider the properties of trees in graph theory.
True or False: A minimum spanning tree for a graph can have cycles.
Think about the definition of a tree.
Given a complete graph with 5 nodes and the following edge weights: (A-B: 2, A-C: 3, A-D: 1, A-E: 4, B-C: 5, B-D: 3, B-E: 2, C-D: 4, C-E: 1, D-E: 6), find the minimum spanning tree and compute its total weight.
Look for the smallest edges that keep the tree connected.
Design a road restoration plan for a small town affected by a natural disaster. You have the costs of repairing each road between towns. Describe how you would apply Prim's or Kruskal's algorithm.
Outline the costs and visualize the connections before applying the algorithm.
5 more questions in this section. Enroll free to practise them all.
Enroll free