Back to QuestionsPractice with This Question
Daily Temperatures
63.2K views•Asked at Airbnb•
Medium
Question Explain
Given an array of temperatures, return an array such that `answer[i]` is the number of days you have to wait after day $i$ to get a warmer temperature. Use a Monotonic Stack.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.