Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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