You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"DFS": "Depth-first search (DFS) is an algorithm for traversing or searching tree or graph data structures. One starts at the root (selecting some arbitrary node as the root in the case of a graph) and explores as far as possible along each branch before backtracking.",
"Applications": [
"Finding connected components.",
"Topological sorting.",
"Finding 2-(edge or vertex)-connected components.",
"Finding 3-(edge or vertex)-connected components.",
"Finding the bridges of a graph.",
"Generating words in order to plot the Limit Set of a Group.",
"Finding strongly connected components.",
"Planarity testing",
"Solving puzzles with only one solution, such as mazes. (DFS can be adapted to find all solutions to a maze by only including nodes on the current path in the visited set.)",
"Maze generation may use a randomized depth-first search.",