Count of days remaining for the next day with higher temperature
Given a list arr[] of everyday temperatures. For each day, the task is to find the count of days remaining for the next day with warmer temperatures. If there is no such day for which warmer temperature is possible then print -1.Examples: Input: arr[] = {73, 74, 75, 71, 69, 72, 76, 73} Output: {1, 1, 4, 2, 1, 1, -1, -1} Explanation: For 73 temperat