Skip to content

Commit c5064b4

Browse files
Update stock_span_problem.py
1 parent 6dafa54 commit c5064b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/stacks/stock_span_problem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def calculate_span(price: list[int]) -> list[int]:
2626
[1, 2, 3, 4, 5]
2727
>>> calculate_span([10, 20, 30, 40, 50])
2828
[1, 2, 3, 4, 5]
29-
>>> calculation_span([100, 80, 60, 70, 60, 75, 85])
29+
>>> calculate_span([100, 80, 60, 70, 60, 75, 85])
3030
[1, 1, 1, 2, 1, 4, 6]
3131
"""
3232
n = len(price)

0 commit comments

Comments
 (0)