Skip to content

Commit 6448c5d

Browse files
authored
Update shortest-bridge.py
1 parent d518da0 commit 6448c5d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Python/shortest-bridge.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Time: O(n^2)
22
# Space: O(n^2)
33

4+
import collections
5+
6+
47
class Solution(object):
58
def shortestBridge(self, A):
69
"""

0 commit comments

Comments
 (0)