diff --git a/src/data-structures/graphs/graph.js b/src/data-structures/graphs/graph.js index 02b8d70..5342b6d 100644 --- a/src/data-structures/graphs/graph.js +++ b/src/data-structures/graphs/graph.js @@ -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 */