About 5,660 results
Open links in new tab
  1. Depth First Search or DFS for a Graph - GeeksforGeeks

    Oct 25, 2025 · Given a graph, traverse the graph using Depth First Search and find the order in which nodes are visited. Depth First Search (DFS) is a graph traversal method that starts from a source …

  2. Depth First Search (DFS) Algorithm - Programiz

    Depth First Search is a recursive algorithm for searching all the vertices of a graph or tree data structure. In this tutorial, you will learn about the depth-first search with examples in Java, C, Python, and C++.

  3. Depth First Search - DFS Algorithm with Practical Examples

    Artificial Intelligence: DFS is used in AI algorithms, such as depth-limited search and iterative deepening depth-first search, for solving problems in areas like planning, scheduling, and game playing.

  4. Depth-First Search (DFS) Algorithm Explained - Codecademy

    Learn Depth-First Search (DFS) algorithm with step-by-step explanations, pseudocode, and Python examples in this complete, beginner-friendly guide.

  5. Depth First Traversal in Data Structures - Online Tutorials Library

    Learn about Depth First Traversal, a fundamental algorithm in data structures, including its implementation and applications.

  6. DFS (Depth-First Search) Algorithm: With Examples - WsCube Tech

    Feb 14, 2026 · Learn about the DFS (Depth-First Search) Algorithm with detailed explanations and examples. Understand its working, applications, and implementation steps.

  7. Depth-First Search (DFS) Algorithm | by Eli Berman | Medium

    Sep 15, 2024 · It is commonly used to find paths and cycles in graphs. In this blog post, we’ll dive deep into the DFS algorithm, exploring its concepts, implementations, and real-world applications.

  8. Depth-first Search (DFS) Algorithm With Example

    Apr 21, 2023 · Learn how to implement the Depth-first Search (DFS) algorithm to search through a graph. Find step-by-step explanation and example for computer science and programming.

  9. Learn Depth-First Search (DFS) Algorithm From Scratch

    Jan 25, 2025 · Learn what is DFS (Depth-First Search) algorithm and its examples. Explore its complexity, pseudocode, applications and code implementation of DFS. Start learning now!

  10. Depth-First Search (DFS) | Brilliant Math & Science Wiki

    For example, the matching algorithm, Hopcroft–Karp, uses a DFS as part of its algorithm to help to find a matching in a graph. DFS is also used in tree-traversal algorithms, also known as tree searches, …