From 0cef5caacb6e1c78b9a297a7d8fc0f021a0f7e3a Mon Sep 17 00:00:00 2001 From: BryanChan777 <43082778+BryanChan777@users.noreply.github.com> Date: Fri, 22 Nov 2019 15:14:33 -0800 Subject: [PATCH] Update README.md --- src/algorithms/graph/depth-first-search/README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/algorithms/graph/depth-first-search/README.md b/src/algorithms/graph/depth-first-search/README.md index b22a8aa9..8900feb5 100644 --- a/src/algorithms/graph/depth-first-search/README.md +++ b/src/algorithms/graph/depth-first-search/README.md @@ -1,10 +1,6 @@ # Depth-First Search (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. +Depth-first search (DFS) is an algorithm for traversing graph data structures. The search starts at the tree root or some arbitrary node of a graph. The search explores a branch of nodes until reaching a terminal node before backtracking to explore another branch of nodes. ![Algorithm Visualization](https://upload.wikimedia.org/wikipedia/commons/7/7f/Depth-First-Search.gif)