Previous
Iteration
3 / 5
Next
List iteration
Hint
Write a function maximum
with a parameter arr
, an array of ints.
The function should return the maximum int in the list.
For example, if arr
is [0, -2, 3, 1]
then the function should return 3.
Help
Solve
Reset
Test results
Test result #
Expected output
Your output