Skip to content

Commit f3c4c65

Browse files
authored
Update video-stitching.py
1 parent e6b79c7 commit f3c4c65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/video-stitching.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ def videoStitching(self, clips, T):
88
:type T: int
99
:rtype: int
1010
"""
11-
result = 0
12-
curr_reachable, reachable = -1, 0
11+
result = 1
12+
curr_reachable, reachable = 0, 0
1313
clips.sort()
1414
for left, right in clips:
1515
if left > reachable:

0 commit comments

Comments
 (0)