Skip to content

Commit

Permalink
fix(graph): minor typo in bfs code documentation
Browse files Browse the repository at this point in the history
"bfs*" inline documentation should read "Breadth-first search"

Fixes #110
  • Loading branch information
onethirtyfive committed Nov 27, 2021
1 parent 02d9f48 commit ccfcfe6
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 ccfcfe6

Please sign in to comment.