Daily Temperatures

Given an integer array temps, where temps[i] is the temperature on day i, return an array answer such that:

  • answer[i] is the number of days to wait after day i until a strictly warmer t...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: