Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 438e8dd

Browse files
Merge pull request #111 from onethirtyfive/fix-graph-bfs-documentation
fix(graph): minor typo in bfs code documentation
2 parents 02d9f48 + ccfcfe6 commit 438e8dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/data-structures/graphs/graph.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ class Graph {
134134
}
135135

136136
/**
137-
* Depth-first search
137+
* Breadth-first search
138138
* Use a queue to visit nodes (FIFO)
139139
* @param {Node} first node to start the dfs
140140
*/

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /