From 1062f234eace36c5a159fdb66870297ac55f27c9 Mon Sep 17 00:00:00 2001 From: Jashan Warraich Date: Wed, 5 Oct 2022 16:05:27 +0530 Subject: [PATCH] Update BFS.cpp --- BFS in C++/BFS.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BFS in C++/BFS.cpp b/BFS in C++/BFS.cpp index ea69e4e0..0dbb48b5 100644 --- a/BFS in C++/BFS.cpp +++ b/BFS in C++/BFS.cpp @@ -2,7 +2,7 @@ #include using namespace std; - +// most efficient solution class Graph { int numVertices; list* adjLists; @@ -60,4 +60,4 @@ int main() { g.addEdge(3, 3); g.BFS(2); return 0; -} \ No newline at end of file +}