Fundamentals
/
Minimum Spanning Tree | Forests
⏸
00:00
↻
← Prev
Next →
▶
Question
Given n nodes and a list of weighted edges [u, v, w], return the total weight of the minimum spanning forest (sum of MSTs of all connected components).
▶
Understand
▶
Approach
▶
My Code
▶
Reference Solution
Compare
11