Skip to content

Commit

Permalink
Merge pull request #111 from onethirtyfive/fix-graph-bfs-documentation
Browse files Browse the repository at this point in the history
fix(graph): minor typo in bfs code documentation
  • Loading branch information
amejiarosario authored Nov 30, 2021
2 parents 02d9f48 + ccfcfe6 commit 438e8dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data-structures/graphs/graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class Graph {
}

/**
* Depth-first search
* Breadth-first search
* Use a queue to visit nodes (FIFO)
* @param {Node} first node to start the dfs
*/
Expand Down

0 comments on commit 438e8dd

Please sign in to comment.