Skip to content

Commit c202d9a

Browse files
authored
Update critical-connections-in-a-network.py
1 parent 13b86a4 commit c202d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/critical-connections-in-a-network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Time: O(|V| + |E|)
22
# Space: O(|V| + |E|)
33

4-
# variant of Tarjan's algorithm
4+
# variant of Tarjan's algorithm (https://www.geeksforgeeks.org/bridge-in-a-graph/)
55
class Solution(object):
66
def criticalConnections(self, n, connections):
77
"""

0 commit comments

Comments
 (0)