You are viewing a single comment's thread. Return to all comments →
HINT: If you get a timeout. Avoid using complex methods. Keep it simple.
Didnt know .max() method was 'complex', thanks.
Life = saved :)
It's not complex, you just need to store it. Instead of doing the same calcultion every time.