73°74°75°71°69°72°76°73°Days until warmer
mediumNeetCode 150

Daily Temperatures

This is a stack/invariant problem: once your stack represents the right thing, the rest is routine. Interviewers love it because it reveals your stack invariants and your edge-case discipline. Most solutions fail when the stack meaning gets fuzzy—name it and guard it.

Arrays & HashingStack
👩‍🏫
👨‍💼

Meet Allison & Tim

Your AI coaches

Practice coding interviews out loud with real-time voice coaching. Your code actually runs.

Free · No sign up · Early access
1Daily Temperaturesmedium
2Part 2
3Part 3

Start Part 1 to unlock your next challenge

Based onLeetCode

Get this problem sent to your inbox