Worst-Case Union-Find with Fast Deletions

Stephen Alstrup, Inge Li Gørtz, Theis Rauhe, Mikkel Thorup

Research output: Book / Anthology / ReportReportResearch

Abstract

In the classical union-find problem we maintain a partition of a universe of elements into disjoint sets subject to the operations union and find. Kaplan et al. [SODA 2002] studied an extension of this problem, where also deletions are allowed. They gave a data structure that for any fixed k supports find(x) and delete(x) in O(logkn) worst-case time and union in O(k) worst-case time, where n is the number of elements in the set containing x. They asked if the delete time could be made faster than their find time. We answer this question affirmatively showing how to get the delete time down to O(logn), while keeping the same time bounds for union and find.
Original languageEnglish
Place of PublicationCopenhagen
PublisherIT-Universitetet i København
EditionTR-2003-25
Number of pages11
ISBN (Electronic)87-7949-034-4
Publication statusPublished - Dec 2003
Externally publishedYes
SeriesIT University Technical Report Series
NumberTR-2003-25
ISSN1600-6100

Fingerprint

Dive into the research topics of 'Worst-Case Union-Find with Fast Deletions'. Together they form a unique fingerprint.

Cite this