English

An Improved Randomized Data Structure for Dynamic Graph Connectivity

Data Structures and Algorithms 2015-10-16 v1

Abstract

We present a randomized algorithm for dynamic graph connectivity. With failure probability less than 1/nc1/n^c (for any constant cc we choose), our solution has worst case running time O(log3n)O(\log^3 n) per edge insertion, O(log4n)O(\log^4 n) per edge deletion, and O(logn/loglogn)O(\log n/\log\log n) per query, where nn is the number of vertices. The previous best algorithm has worst case running time O(log4n)O(\log^4 n) per edge insertion and O(log5n)O(\log^5 n) per edge deletion. The improvement is made by reducing the randomness used in the previous result, so that we save a logn\log n factor in update time. Specifically, \cite{kapron2013dynamic} uses logn\log n copies of a data structure in order to boost a success probability from 1/21/2 to 1nc1-n^{-c}. We show that, in fact though, because of the special structure of their algorithm, this boosting via repetition is unnecessary. Rather, we can still obtain the same correctness guarantee with high probability by arguing via a new invariant, without repetition.

Keywords

Cite

@article{arxiv.1510.04590,
  title  = {An Improved Randomized Data Structure for Dynamic Graph Connectivity},
  author = {Zhengyu Wang},
  journal= {arXiv preprint arXiv:1510.04590},
  year   = {2015}
}
R2 v1 2026-06-22T11:21:25.213Z