C++ Solution to Coding Challenge 739. Daily Temperatures
How many days to wait for a warmer one
Problem statement
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 i-th
day to get a warmer temperature. If there is no future day for which this is…