mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 17:34:49 +08:00
Minor update
Changed two characters which were the root cause of 'SyntaxError: Non-ASCII character '\xe2' in file main.py, but no encoding declared'
This commit is contained in:
@ -1,8 +1,8 @@
|
|||||||
'''
|
'''
|
||||||
The stock span problem is a financial problem where we have a series of n daily
|
The stock span problem is a financial problem where we have a series of n daily
|
||||||
price quotes for a stock and we need to calculate span of stock’s price for all n days.
|
price quotes for a stock and we need to calculate span of stock's price for all n days.
|
||||||
|
|
||||||
The span Si of the stock’s price on a given day i is defined as the maximum
|
The span Si of the stock's price on a given day i is defined as the maximum
|
||||||
number of consecutive days just before the given day, for which the price of the stock
|
number of consecutive days just before the given day, for which the price of the stock
|
||||||
on the current day is less than or equal to its price on the given day.
|
on the current day is less than or equal to its price on the given day.
|
||||||
'''
|
'''
|
||||||
|
Reference in New Issue
Block a user