Fixed Spelling error. See issue #2055 (#2083)

Corrected 'distance' spelling in line 51.
This commit is contained in:
Sameer Ahmed Khan 2021-02-03 16:23:10 +05:00 committed by GitHub
parent d1e75019a7
commit 912be910c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ start vertex, end vertes and weights. Vertices should be labelled with a number
public void
go() // Interactive run for understanding the class first time. Assumes source vertex is 0 and
// shows distaance to all vertices
// shows distance to all vertices
{
Scanner sc = new Scanner(System.in); // Grab scanner object for user input
int i, v, e, u, ve, w, j, neg = 0;