Posts tagged with "Disjoint Set"
UVa Online Judge Challenge "572"
Although BFS and DFS were recommended solutions to the problem, I saw an opportunity to solve this problem using Disjoint Sets. The virtual judge run time was 0.050s.
Published: April 23, 2018 | Last Modified: May 2, 2025