Find the minimum spanning tree weight of a graph with 0 and 1 edges.
Unlock detailed company stats for this questionUpgrade
Given a complete undirected graph on N nodes where some edges have weight 1 and the rest have weight 0, return the weight of its minimum spanning tree.
Community answers
No answers contributed by the community yet.
Related questions
Find the minimum cost to remove all leaf nodes of an edge-weighted binary tree.Find the minimum cost to tile a strip using tiles of width 1, 2 and 3.Given a weighted graph and a node, remove the node and all its edges and return the maximum remaining edge weight.Related courses

Course

Course
Course
