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(log∗n), while keeping the same time bounds for union and find.
Udgivelsessted | Copenhagen |
---|
Forlag | IT-Universitetet i København |
---|
Udgave | TR-2003-25 |
---|
Antal sider | 11 |
---|
ISBN (Elektronisk) | 87-7949-034-4 |
---|
Status | Udgivet - dec. 2003 |
---|
Udgivet eksternt | Ja |
---|
Navn | IT University Technical Report Series |
---|
Nummer | TR-2003-25 |
---|
ISSN | 1600-6100 |
---|