We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 245ed81 commit 8da3d29Copy full SHA for 8da3d29
python/739-Daily-Temperatures.py
@@ -7,5 +7,5 @@ def dailyTemperatures(self, temperatures: List[int]) -> List[int]:
7
while stack and t > stack[-1][0]:
8
stackT, stackInd = stack.pop()
9
res[stackInd] = (i - stackInd)
10
- stack.append([t, i])
+ stack.append((t, i))
11
return res
0 commit comments