From 02fab665de87304f41450a5dec8a8e2c74c8e7c4 Mon Sep 17 00:00:00 2001 From: Nishant Chatterjee <52992695+nishantc1527@users.noreply.github.com> Date: Sun, 18 Apr 2021 03:02:48 -0700 Subject: [PATCH] fixed typo vertes to vertex Fixes: #{$2189} (#2190) --- 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 bd431a5f8..273f5f772 100644 --- a/DataStructures/Graphs/BellmanFord.java +++ b/DataStructures/Graphs/BellmanFord.java @@ -4,7 +4,7 @@ import java.util.*; 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[];