DSU | SPOJ Problem | Generic Implementation | Walkthrough

Опубликовано: 20 Май 2026
на канале: Kartik Arora
1,444
45

In this video we will:
1. Implement a Generic Disjoint set data structure
2. Solve a fun problem using our generic implementation from SPOJ

Fundamentals of DSU and deep dive:    • Disjoint Set Data Structures | Union Find ...  

SPOJ Problem: https://www.spoj.com/problems/FRNDCIRC/

Code and Submission link: https://ideone.com/Bdh2It

Please leave a like and subscribe to the channel!
also consider watching at 1.25x/1.5x :)