Y
Hacker News
new
|
ask
|
show
|
jobs
by
throwaway43
3446 days ago
This is wrong headed.
Just add everything one by one to a Disjoint set union.
My bad.