Given daily temperatures, return an array where each position contains the number of days until a warmer temperature.
Use 0 when no warmer future day exists.
Inputtemperatures = [73, 74, 75, 71, 69, 72, 76, 73]
Output[1, 1, 4, 2, 1, 1, 0, 0]
Inputtemperatures = [30, 40, 50, 60]
Output[1, 1, 1, 0]
1 ≤ temperatures.length ≤ 100,00030 ≤ temperatures[i] ≤ 100