Kruskal's Algorithm Code Visualization (with Union Find)

Опубликовано: 27 Февраль 2026
на канале: Computer Psychology - Joy Liu
3,154
41

This is a demo of Kruskal's Algorithm on Minimum Spanning Tree (MST) with pseudocode walkthrough. The example of the graph and the code are from CLRS (Chapter 23.2 the algorithms of Kruskal and Prim).

I'm making a few demo videos which don't contain any voiceover. They explain themselves by animation.

[About this channel] Compsyc for Computer Psychology :) I make videos for beginners.
[Animation engine] Manim(CE) with Python
[Copyright] Pseudocode and the graph are from CLRS.