DIY: Daily Temperatures

Solve the interview question "Daily Temperatures" in this lesson.

Problem statement

You are given an array of integers, temperatures, which represents the daily temperatures. You have to return an array, days, such that days[i] is the number of days you have to wait after the ithi^{th} ...

Access this course and 1400+ top-rated courses and projects.