We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
The most common error is that each line starts with the number of subsequent elements on the line (this is quite uncommon to have it on the same line in HR challenges)!
The shortest code I found in Python (not the fastest, it is faster to check the max each time in the loop):
Maximize It!
You are viewing a single comment's thread. Return to all comments →
The most common error is that each line starts with the number of subsequent elements on the line (this is quite uncommon to have it on the same line in HR challenges)!
The shortest code I found in Python (not the fastest, it is faster to check the max each time in the loop):