Skip to content

Commit 31beff1

Browse files
author
whoparthgarg
committed
graphs
1 parent ab7ad40 commit 31beff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

17. Graphs/04c Breadth First Search.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include<bits/stdc++.h>
22
using namespace std;
33

4-
//find number of islands problem
4+
//find number of islands problem or find number of connected components
55
void bfs(vector<int> adj[], int s, bool visited[])
66
{
77
queue<int> q;

0 commit comments

Comments
 (0)