FunctionRacerProblemsRace

Hottest Day

BeginnerNumPyPython

temps[i] is the temperature on day i. Return the index of the hottest day. If several days share the highest temperature, return the earliest one.

Example 1

temps [18,25,31,25]
returns 2

The highest reading is 31, on day 2.

Constraints

Race itor take your time

Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.

More NumPy problems