Answers

2016-07-13T00:43:28+08:00

Set max to 0.For each number x in the list L, compare it to max. If x is larger, setmax to x.max is now set to the largest number in the list.
0