Monotonic

901. Online Stock Span

901. Online Stock Span 這個題目真的算是非常難,沒有寫過的話面試真的很難有機會寫出來。 class StockSpanner: def __init_

739. Daily Temperatures

739. Daily Temperatures class Solution: def dailyTemperatures(self, temperatures: List[

496. Next Greater Element I

496. Next Greater Element I class Solution: def nextGreaterElement(self,