mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-09 03:34:02 +08:00
更新 0739.每日温度 Python3 版本
This commit is contained in:
@ -211,7 +211,7 @@ Java:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
Python:
|
Python:
|
||||||
''' Python3
|
``` Python3
|
||||||
class Solution:
|
class Solution:
|
||||||
def dailyTemperatures(self, temperatures: List[int]) -> List[int]:
|
def dailyTemperatures(self, temperatures: List[int]) -> List[int]:
|
||||||
answer = [0]*len(temperatures)
|
answer = [0]*len(temperatures)
|
||||||
@ -228,7 +228,7 @@ class Solution:
|
|||||||
stack.append(i)
|
stack.append(i)
|
||||||
|
|
||||||
return answer
|
return answer
|
||||||
'''
|
```
|
||||||
Go:
|
Go:
|
||||||
|
|
||||||
> 暴力法
|
> 暴力法
|
||||||
|
Reference in New Issue
Block a user