Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.1K+ articles
DSA
19.9K+ articles
Misc
7.8K+ articles
Arrays
4.2K+ articles
Greedy
1.4K+ articles
GATE CS
1.1K+ articles
Tree
909+ articles
Graph
562+ articles
Minimum Spanning Tree
12+ articles
Kruskal'sAlgorithm
8+ articles
MST
25 posts
Recent Articles
Popular Articles
Problem Solving for Minimum Spanning Trees (Kruskal’s and Prim’s)
Last Updated: 04 October 2018
Minimum spanning Tree (MST) is an important topic for GATE. Therefore, we will discuss how to solve different types of questions based on MST. Before understanding this ar...
read more
Misc
Greedy
GATE CS
DSA
MST
Minimum cost to connect all cities
Last Updated: 28 February 2025
There are n cities and there are roads in between some of the cities. Somehow all the roads are damaged simultaneously. We have to repair the roads to connect the cities a...
read more
Graph
Greedy
DSA
MST
Types of Spanning Tree Protocol (STP)
Last Updated: 22 May 2025
In Ethernet networks, switches use frames to forward data between devices. However, if there are multiple active paths between switches (such as when switches are intercon...
read more
Misc
Computer Networks
GATE CS
MST
Difference between Prim's and Kruskal's algorithm for MST
Last Updated: 17 July 2024
Minimum Spanning Tree (MST) is a fundamental concept in graph theory and has various applications in network design, clustering, and optimization problems. Two of the most...
read more
Greedy
Difference Between
DSA
MST
Minimum Spanning Tree using Priority Queue and Array List
Last Updated: 05 November 2021
Given a bi-directed weighted (positive) graph without self-loops, the task is to generate the minimum spanning tree of the graph.Examples:Input: N = 9, E = 14, edges = {{0...
read more
DSA
MST
Minimum Bottleneck Spanning Tree(MBST)
Last Updated: 10 February 2025
The minimum bottleneck spanning tree in an undirected graph is a tree whose most expensive edge is as minimum as possible. In this article, we will understand more about h...
read more
Tree
Advanced Data Structure
Articles
DSA
MST
Second Best Minimum Spanning Tree
Last Updated: 06 May 2025
Given an undirected graph represented by the array edges[][], where each edges[i] contains three integers [u, v, w], representing an undirected edge from u to v, having di...
read more
DSA
Kruskal'sAlgorithm
Minimum Spanning Tree
MST
LCA
Minimum cost to connect all houses in a city
Last Updated: 09 April 2025
Given a 2D array houses[][] consisting of n 2D coordinates {x, y} where each coordinate represents the location of each house, the task is to find the minimum cost to conn...
read more
Graph
Greedy
Sorting
DSA
Arrays
Kruskal'sAlgorithm
Minimum Spanning Tree
MST
Properties of Minimum Spanning Tree (MST)
Last Updated: 26 February 2023
For a connected and undirected graph, a spanning tree of that graph is a subgraph that is a tree and connects all the vertices together. A single graph can have multiple s...
read more
DSA
Minimum Spanning Tree
MST
Graph Minimum Spanning Tree
Difference between Minimum Spanning Tree and Shortest Path
Last Updated: 01 July 2021
Spanning tree: A spanning tree (T) of an undirected graph(G) is a subgraph which is a tree that includes all the vertices of a graph (G) and the minimum number of edges re...
read more
Picked
DSA
MST
Shortest Path
Minimize cost to connect the graph by connecting any pairs of vertices having cost at least 0
Last Updated: 23 March 2022
Given a disconnected graph G with N vertices and M edges and an array cost[] corresponding to each vertex, the task is to find the minimum cost to make the graph by connec...
read more
Misc
Graph
Greedy
Mathematical
DSA
Arrays
MST
union-find
disjoint-set
Check if an edge is a part of any Minimum Spanning Tree
Last Updated: 02 March 2023
Given a connected undirected weighted graph in the form of a 2D array where each row is of the type [start node, end node, weight] describing an edge, and also two integer...
read more
Graph
Algo Geek
Algo-Geek 2021
DSA
MST
Minimize rope length to connect given points in a 3D plane
Last Updated: 08 February 2023
Given a 2-D array A[][] of size N × 3, where each element of the array is of the form {x, y, z}, where x, y and z are coordinates of a point in 3D space. The task is to co...
read more
Graph
Greedy
DSA
MST
What is Minimum Spanning Tree (MST)
Last Updated: 28 February 2025
A spanning tree is defined as a tree-like subgraph of a connected, undirected graph that includes all the vertices of the graph. Or, to say in Layman's words, it is a subs...
read more
Graph
DSA
MST
Number of Critical and Pseudo-Critical edges
Last Updated: 17 December 2023
Given a weighted undirected graph with n vertices numbered from 0 to n - 1, and an array of edges where edges[i] = [u, v, weight] represents a bidirectional and weighted e...
read more
Graph
Picked
DSA
MST
union-find
1
2
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !