Skip to content

Commit 136a246

Browse files
author
jinbeom
committed
Fix Best Time to Buy Sell Stock Solution
1 parent cdb6714 commit 136a246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

best-time-to-buy-and-sell-stock/kayden.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ def maxProfit(self, prices: List[int]) -> int:
1212
if price < cur:
1313
cur = price
1414

15-
return answer
15+
return answer

0 commit comments

Comments
 (0)