Skip to content

Depth First Search

4 posts3 contributors

+ FollowBe the first to follow this
Write about it

Articles about Depth First Search

  1. Implement Depth-First Search (DFS) Iteratively in Java

    Learn how to implement iterative depth-first search in Java using a stack, track visited nodes, and avoid recursion limits when traversing graphs.

    Ananya DesaiAnanya Desai2,8131,000
  2. Counting Cycles in Undirected Graph with DFS

    This is a graph problem to count the noumber of cycles with length n using Depth First Search

    Rajiv SinghRajiv Singh3,7811,000
  3. Generating Maze using C# and .NET

    This article focuses on how to generate a maze using the depth first search algorithm. This is a very simple but clever algorithm that creates a maze by randomly stripping one available wall between two cells for every cell in the grid.

    Mike GoldMike Gold167,3991,000
  4. Generating Maze using C# and .NET

    Did you ever get the feeling that cubicles were laid out with the idea that there could be no escape? (Must be I am a bit overworked these days). Today's article focuses on how to generate a maze using the depth first search algorithm. This is a very simple but clever algorithm that creates a maze by randomly stripping one available wall between two cells for every cell in the grid.

    Mike GoldMike Gold23,9511,000