Daily Temperatures
Medium
Stack
Given an array of daily temperatures, print for each day how many days you must wait for a warmer temperature. If there is no warmer day in the future, print 0.
Constraints
1 <= n <= 10^5 30 <= temperature <= 100
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.