Kruskal vs Prim: what is the main difference and typical data structures? | LetsGit.IT