Skip to content

Commit 9a327ef

Browse files
authored
Update minimum-window-subsequence.py
1 parent 6d1c999 commit 9a327ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/minimum-window-subsequence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def minWindow(self, S, T):
1616

1717
min_i, min_len = None, float("inf")
1818
for i in xrange(len(S)):
19-
if T[0] != S[i]:
19+
if S[i] != T[0]:
2020
continue
2121
start = i
2222
for c in T:

0 commit comments

Comments
 (0)