1. Gyanastra
  2. Algorithms
  3. Minimum Spanning Trees: Kruskal, Prim and Union-Find

Algorithms

Minimum Spanning Trees: Kruskal, Prim and Union-Find: lessons and notes

8 lessons on minimum spanning trees: kruskal, prim and union-find for GATE CSE, ISRO and UGC NET. Read the first two lessons free, right here; the rest of the chapter is for signed-in learners. Each lesson shows the exam years that asked it and ends with practice questions.

8 lessons3 simulators
  1. 1
    Spanning Trees, MSTs and the Cut and Cycle Properties9 min read · Asked in past papers: GATE 2016, 2012, 2005, 2000, 1997, 1996; UGC NET 2017, 2008.
    Read free
  2. 2
    Kruskal's Algorithm with a Full Trace11 min read · Asked in past papers: GATE 2011, 2009, 2006, 2003, 1992, 1991; UGC NET 2019, 2018, 2008.
    Read free
  3. 3
    Prim's Algorithm, Key Arrays and the Cost of Each Implementation12 min read · Asked in past papers: GATE 2008, 2004; UGC NET 2020.
    Free account
  4. 4Free account
  5. 5Pass
  6. 6
    Uniqueness, Counting MSTs and the Bottleneck Property11 min read · Asked in past papers: GATE 2025, 2024, 2021, 2018, 2017, 2014, 2005, 2001, 1995.
    Pass
  7. 7
    Second-Best MST, Weight Changes and the K4 Maximum-Weight Problem10 min read · Asked in past papers: GATE 2016, 2015.
    Pass
  8. 8
    MST versus Shortest-Path Tree, True or False Practice and Traps10 min read · Asked in past papers: GATE 2014, 2005.
    Pass