SmartNews interview question

The Leetcode problem, Daily temperature.