Problem

Return max in non-empty arr (one loop).

Examples

  • arrayMax([1, 5, 3]) -> 5
Compile and test (Ctrl+Enter)