Skip to content

Commit 68b9223

Browse files
authored
Update restore-the-array-from-adjacent-pairs.py
1 parent 310d4af commit 68b9223

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Python/restore-the-array-from-adjacent-pairs.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Time: O(n)
22
# Space: O(n)
33

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

0 commit comments

Comments
 (0)