Daily Temperatures
Try to solve the Daily Temperatures problem.
We'll cover the following
Statement
Given an array of integers, temperatures
, that represents daily temperatures, return an array, output
, where each element, output[i]
, indicates the number of days you need to wait after the output[i]
to 0.
Constraints:
 temperatures.length
 temperatures[i]
Examples
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.