Kruskal code doubt

error: dsu(v) , v is not a type

hello @aparna181
checking … …

image

u cannot do this,here value of v is not given. u need to declare the size of dsu inside constructor

check now->