Skip to content

Commit b953310

Browse files
Update README.md
1 parent e228204 commit b953310

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dijkstra Algorithm/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ The table below represents graph state:
3030
3131
>T states for True
3232
33-
To initialize out graph we have to set source vertex path length from source vertex to 0.
33+
To initialize out graph we have to set source vertex path length from source vertex to 0, and append itself to path vertices ffrom start.
3434

3535
| | A | B | C | D | E |
3636
|:------------------------- |:---:|:---:|:---:|:---:|:---:|
3737
| Visited | F | F | F | F | F |
3838
| Path Length From Start | 0 | inf | inf | inf | inf |
39-
| Path Vertices From Start | [ ] | [ ] | [ ] | [ ] | [ ] |
39+
| Path Vertices From Start | [A] | [ ] | [ ] | [ ] | [ ] |
4040

4141
Great, now our graph is initialized and we can pass it to the Dijkstra's algorithm.
4242

0 commit comments

Comments
 (0)