Computing Atlas

How Computing Was Built
Concepts

Depth-First Search

Also Known As DFS
Algorithm

Citation Formats

General Reference

APA Style

BibTeX

Depth first search is an algorithm for traversing or searching tree and graph data structures. Starting at a chosen root node, it explores as far as possible along each branch before backtracking, typically using a stack, explicit or via recursion, to track the path and visited nodes.

Facts
Origin Year
1972 1
Maze-solving precursors date to the 19th century (Tremaux's algorithm), but DFS was formalized as an algorithmic technique for graph problems by Robert Tarjan's 1972 paper Depth-First Search and Linear Graph Algorithms.
Core Principle
Explores each branch to full depth before backtracking, in contrast with breadth first search; the underlying strategy was investigated in the nineteenth century by French mathematician Charles Pierre Tremaux as a maze solving method, predating its formalization in computer science. 1
Cross-Tradition Connections

Associated With

In Field

Sources
1. Wikipedia: Depth-First Search
Wikimedia FoundationOpening paragraph
Quote, Opening paragraph
explores as far as possible along each branch before backtracking
View the Source
1. Wikipedia: Depth-First Search
Wikimedia FoundationHistory note, TremauxView the Source
1. Wikipedia: Depth-First Search
Wikimedia FoundationIntroductionView the Source
1. Wikipedia: Depth-First Search
Wikimedia FoundationHistory sectionView the Source
1. Wikipedia: Depth-First Search
Wikimedia FoundationIn Field: Algorithms and Complexity TheoryView the Source
1. Wikipedia: Depth-First Search
Wikimedia FoundationAssociated With: Stack, Opening paragraph, on stack-based traversalView the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0 open reader challenges)
No disputes yet. Spotted an error or a better source? Open the first one.

View At A Past Year

The atlas records no dated fact of its own for this entry, so there is no other year to choose.