Skip to content

Commit 3f73fd8

Browse files
Update and rename GeeksForGeeks_Shortest Path Using Atmost One Curved Edge.py to Geeksforgeeks_Shortest Path Using Atmost One Curved Edge.py
1 parent 6d30931 commit 3f73fd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GeeksForGeeks_Shortest Path Using Atmost One Curved Edge.py renamed to Geeksforgeeks_Shortest Path Using Atmost One Curved Edge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ def shortestPath(self, V, a, b, edges):
6868
# Minimum of both possibilities (curved edge used or not)
6969
ans = min(dist[b][0], dist[b][1])
7070

71-
return -1 if ans >= INF else ans
71+
return -1 if ans >= INF else ans

0 commit comments

Comments
 (0)