Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
116 B
4
Indexable
Never
Implement MST using Prims algorithm. Consider 3 vertex 0,1,2 and 3 edges

E1 0 ->1 =3

E2 1->2=2

E3 0 ->2 = 9