
In this problem I am trying to find the min weight using the Prims and Kruskals and list the edges in the order they are chosen.
For Prims I am getting order (A,E), (E,F), (F,C), (C,D), (C,B) with a weight of 21
With Kruskals I get (C,F), (A,E), (C,D), (B,C) with a weight of 14
I feel like I shoudnt be getting two different min weights. Could the problem be that I am forced to start at Vertex A when using Prims? If that is not my problem what is?
You messed up with Kruskal's algorithm, since the answer you give isn't even a tree: there is, for example, no path between A and B.