Skip to content
RED SAGSkills
hard20 pts · first answer countsgraphsunion-find

Union-find without either optimisation

A union-find links root(a) under root(b) with no rank and no path compression. Calls are union(1,2), union(2,3), ..., union(n-1,n), then find(1) many times. What is the cost of each find(1)?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions