NeetCode #355LC-739MediumStackNC 150NC 250
← Back to All Problems

#355 · #739 · Daily Temperatures(每日温度)

📌 Problem Statement & Constraints

Given an array of daily temperatures, return an array where answer[i] is the number of days you must wait after day i for a warmer temperature. If no warmer day exists, answer[i] is 0. Constraints: 1 <= temperatures.length <= 10^5, 30 <= temperatures[i] <= 100.
🔒

Sign In to Unlock Full Solutions for All 973 Problems

Sign in to access step-by-step logic, benchmark Python3 code, complexity breakdown, and offline export!