You are viewing a single comment's thread. Return to all comments →
you need to tweek the if statement to "if(small >arr[arr_i]|| arr_i==0)" and do the same with large
Seems like cookies are disabled on this browser, please enable them to open this website
Mini-Max Sum
You are viewing a single comment's thread. Return to all comments →
you need to tweek the if statement to "if(small >arr[arr_i]|| arr_i==0)" and do the same with large