Depth-first search and linear grajh algorithms

  • Authors:
  • Robert Tarjan

  • Affiliations:
  • -

  • Venue:
  • SWAT '71 Proceedings of the 12th Annual Symposium on Switching and Automata Theory (swat 1971)
  • Year:
  • 1971

Quantified Score

Hi-index 0.00

Visualization

Abstract

The value of depth-first search or "backtracking" as a technique for solving graph problems is illustrated by two examples. An algorithm for finding the biconnected components of an undirected graph and an improved version of an algorithm for finding the strongly connected components of a directed graph are presented. The space and time requirements of both algorithms are bounded by k1V + k2E + k3 for some constants k1, k2, and k3, where V is the number of vertices and E is the number of edges of the graph being examined.