Challenge

The challenge template is loaded into the playground. Do not modify it, only add new code.
Done here? Go back to the challenges page and select another!

Maximum of Array

Number of submissions and other statistics here :)

Given a list of values starting at address 0 and a length stored at address 0x40, calculate and then store the maximum value of the array at the address 0x41.

Expected result:

memory[0x41] = max(memory[0..length])