From 0e8e5c126afb11b9833dba30ca6483146645974d Mon Sep 17 00:00:00 2001 From: Nishant Chatterjee Date: Sat, 17 Apr 2021 14:31:47 -0700 Subject: [PATCH] fixed typo vertes to vertex Fixes: #{$2189} --- 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 bd431a5f86fc..273f5f772957 100644 --- a/DataStructures/Graphs/BellmanFord.java +++ b/DataStructures/Graphs/BellmanFord.java @@ -4,7 +4,7 @@ class BellmanFord /*Implementation of Bellman ford to detect negative cycles. Graph accepts inputs in form of edges which have -start vertex, end vertes and weights. Vertices should be labelled with a number between 0 and total number of vertices-1,both inclusive*/ +start vertex, end vertex and weights. Vertices should be labelled with a number between 0 and total number of vertices-1,both inclusive*/ { int vertex, edge; private Edge edges[];