Write running_max(nums) returning, at each position, the largest value seen so far.
running_max([3, 1, 4, 1, 5]) → [3, 3, 4, 4, 5]
running_max([]) → []
Submit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.