From 2f526820116ac7a479495e4f1b493627ad1fe176 Mon Sep 17 00:00:00 2001 From: Sameer Ahmed Khan <68906588+sameerahmedk@users.noreply.github.com> Date: Tue, 12 Jan 2021 16:29:12 +0500 Subject: [PATCH] Fixed Spelling error. See issue #2055 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 b817b6dcd5c8..6d4c84f3026b 100644 --- a/DataStructures/Graphs/BellmanFord.java +++ b/DataStructures/Graphs/BellmanFord.java @@ -48,7 +48,7 @@ public static void main(String args[]) { 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;