Skip to content

Commit d0e73eb

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4971c21 commit d0e73eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data_structures/arrays/max_profit_one_transaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
from typing import List
2828

29+
2930
def max_profit(prices: List[int]) -> int:
3031
"""
3132
Calculate the maximum profit from at most one buy-sell transaction.
@@ -57,7 +58,6 @@ def max_profit(prices: List[int]) -> int:
5758
return max_profit_val
5859

5960

60-
6161
# ---------------------------------------------------------------
6262
# Example Usage (For quick testing)
6363
# ---------------------------------------------------------------

0 commit comments

Comments
 (0)