Skip to content

Commit

Permalink
Update increasing-triplet-subsequence.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kamyu104 committed Feb 16, 2016
1 parent ebb3992 commit a254037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/increasing-triplet-subsequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def increasingTriplet(self, nums):
first_min, second_min = float("inf"), float("inf")
for i in nums:
if first_min >= i:
first_min, second_min = i, float("inf")
first_min = i
elif second_min >= i:
second_min = i
else:
Expand Down

0 comments on commit a254037

Please sign in to comment.