Skip to content

Commit 2554577

Browse files
authored
Update Graph-Theory.md
1 parent 1bdf6a9 commit 2554577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Notes/Graph-Theory.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ In order to do this, we will be using a _Queue_ since it follows the "_first in,
150150
1. Push the root vertex onto the queue
151151
2. Pop the queue to get the current vertex
152152
3. For each unvisited neighbor of the current vertex, mark them as visited and push them onto the queue
153-
4. Go back to step 2 until the queue is empty
153+
4. Go back to step 2 until the queue is empty
154154

155155
```java
156156
// Initialize the queue

0 commit comments

Comments
 (0)