Is there any noticeable benefit of using both path compression and union by rank in the same dsu implementation?
You can read about this here.
1 Like
Is there any noticeable benefit of using both path compression and union by rank in the same dsu implementation?
You can read about this here.