From 912be910c8eb1581ec25386c697bb5a2e956b618 Mon Sep 17 00:00:00 2001 From: Sameer Ahmed Khan <68906588+sameerahmedk@users.noreply.github.com> Date: Wed, 3 Feb 2021 16:23:10 +0500 Subject: [PATCH] Fixed Spelling error. See issue #2055 (#2083) Corrected 'distance' spelling in line 51. --- DataStructures/Graphs/BellmanFord.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataStructures/Graphs/BellmanFord.java b/DataStructures/Graphs/BellmanFord.java index 1399e4f3..bd431a5f 100644 --- a/DataStructures/Graphs/BellmanFord.java +++ b/DataStructures/Graphs/BellmanFord.java @@ -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;