加载中…
We present a new algorithm for maintaining a DFS tree of an arbitrary directed graph under any sequence of edge insertions. Our algorithm requires a total of time in the worst case to process a sequence of edge insertions, where is the number of vertices in the graph and is the total number of edges in the final graph. We also prove lower bounds for variations of this problem.

生成讲解博客的中文版本

生成AI智能校验的中文版本