The pseudocode and complexity analysis for prim's and kruskal's algorithms used to find minimum spanning trees (mst) in a graph with edge weights. Both algorithms aim to find the tree with the minimum total edge weight that connects all vertices in the graph.