Angad Sandhu
Search
Browse

739_Daily_Temperatures

Source name
739_Daily_Temperatures.py
# File: Leetcode/Solutions/739_Daily_Temperatures.py


"""
Problem Number: 739
Problem Name: Daily Temperatures
Difficulty: Medium
Tags: Array, Stack, Monotonic Stack, Neetcode 150
Company (Frequency): Amazon, Google, Facebook, Microsoft, Uber
Leetcode Link: <https://leetcode.com/problems/daily-temperatures/description/>

DESCRIPTION

Given an array of integers `temperatures` represents the daily temperatures, return an array `answer` such that `answer[i]` is the number of days you have to wait after the `ith` day to get a warmer temperature. If there is no future day for which this is possible, keep `answer[i] == 0` instead.
"""

Browse the library