7,398 research outputs found

    Fast Dynamic Pointer Following via Link-Cut Trees

    Full text link
    In this paper, we study the problem of fast dynamic pointer following: given a directed graph GG where each vertex has outdegree 11, efficiently support the operations of i) changing the outgoing edge of any vertex, and ii) find the vertex kk vertices `after' a given vertex. We exhibit a solution to this problem based on link-cut trees that requires O(lgn)O(\lg n) time per operation, and prove that this is optimal in the cell-probe complexity model.Comment: 7 page
    corecore