pub fn prim(g: &[Vec<i64>]) -> i64
Expand description

O(|N|^2)