Given an array of integers temperatures representing 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 with a warmer temperature, set answer[i] to 0.
Input: temperatures = [73, 74, 75, 71, 69, 72, 76, 73] Output: [1, 1, 4, 2, 1, 1, 0, 0] Explanation: On day 0 (73 degrees), the next warmer day is day 1 (74 degrees), so answer[0] = 1. On day 2 (75 degrees), the next warmer day is day 6 (76 degrees), so answer[2] = 4.
Input: temperatures = [30, 40, 50, 60] Output: [1, 1, 1, 0] Explanation: Each day is followed immediately by a warmer day, except the last.
1 <= temperatures.length <= 10^530 <= temperatures[i] <= 100temperatures = [73, 74, 75, 71, 69, 72, 76, 73]