AlgorithmsComprehensive Guide to Graph TheoryKruskal's Algorithm for Minimum Spanning TreeKruskal's Algorithm for Minimum Spanning Tree We use priority Queue to have edges in order