Given daily temperatures, return for each day how many days until a warmer temperature (0 if none).
Asked in the DSA round stage. The interviewer asked the candidate to walk through an example.
Implement def daily_temperatures(temperatures):. temperatures is a list of integers. Return a list where each position contains the number of days until a strictly warmer temperature, or 0 if none exists.
def daily_temperatures(temperatures):