Skip to content

Commit 7e4f222

Browse files
committed
The best time to buy and sell stock is added in DP section with annotations and test cases done(TheAlgorithms#7104)
1 parent 072312b commit 7e4f222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dynamic_programming/best_time_to_buy_sell_stock.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def test_maxprofit(self):
8282
assert s.maxprofit(prices2, fee2) == 6
8383

8484

85-
def main():
85+
def main()->None:
8686
"""
8787
This is the function for taking input and output.
8888
"""

0 commit comments

Comments
 (0)