Brovuka's algorithm

i am trying to implement brovukas algorithm to find the minimum spanning tree of a graph but my program crashes in the find function when i run it

sample input

can someone please help me
That kind of error is usually caused by stepping out of bounds of an array. Make sure you are always in bounds of your arrays, always. Then make double sure of it.
Topic archived. No new replies allowed.