mirror of
https://github.com/krahets/hello-algo.git
synced 2025-07-06 05:48:58 +08:00

Since the max function is called to find the maximum value, it doesn't seem necessary to traverse the list and call the max function several times to select the larger value.