Hacker News new | ask | show | jobs
by throwaway43 3399 days ago
This is wrong headed.

Just add everything one by one to a Disjoint set union.

My bad.