You are viewing a single comment's thread. Return to all comments →
If you want to make it somewhat more efficient, only sum(nums) once instead of twice. :)
sum(nums)
Mini-Max Sum
You are viewing a single comment's thread. Return to all comments →
If you want to make it somewhat more efficient, only
sum(nums)
once instead of twice. :)