Rising Temperature

Find all dates' id with higher temperatures compared to the previous day's temperature from a Weather table.

Constraints

  • All dates are different.
  • The column 'id' has unique values.
Saving… · 3 lines
class Solution:
def risingTemperature(self, ids, record_dates, temperatures) -> list:

Console

Click Run to execute sample tests.