Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 53845f1

Browse files
committed
Add spec file for bfs
1 parent 7ec4898 commit 53845f1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/graphs/searching/bfs.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/* * * * * * * * * * * * * * * * * *
2+
3+
Sample graph
4+
5+
var graph = [[1,0,1,0,0,0],
6+
[0,1,0,1,0,0],
7+
[1,0,1,0,1,0],
8+
[0,1,0,1,1,0],
9+
[0,0,1,1,1,1],
10+
[0,0,0,0,1,1]];
11+
* * * * * * * * * * * * * * * * * */

0 commit comments

Comments
 (0)