You are viewing a single comment's thread. Return to all comments →
yes you are right if all elements of an array are negative then i don't choose any number and hence answer should be zero.
Seems like cookies are disabled on this browser, please enable them to open this website
The Maximum Subarray
You are viewing a single comment's thread. Return to all comments →
yes you are right if all elements of an array are negative then i don't choose any number and hence answer should be zero.