Days Until Warmer
Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.
The problem
- medium
- Pro
You're given daily temperatures. For each day, work out how many days you'd wait until a warmer day, or zero if none comes. Explain an approach faster than checking every later day for each day.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.