Skip to content

Commit

Permalink
Update 739-Daily-Temperatures.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellirvin authored Jul 12, 2022
1 parent 245ed81 commit 8da3d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/739-Daily-Temperatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ def dailyTemperatures(self, temperatures: List[int]) -> List[int]:
while stack and t > stack[-1][0]:
stackT, stackInd = stack.pop()
res[stackInd] = (i - stackInd)
stack.append([t, i])
stack.append((t, i))
return res

0 comments on commit 8da3d29

Please sign in to comment.