You are viewing a single comment's thread. Return to all comments →
What if you have an array 1 2 3 4 5 and the sum is 5? You will not find a solution (which is there) with this method.
1 2 3 4 5
5
Seems like cookies are disabled on this browser, please enable them to open this website
Ice Cream Parlor
You are viewing a single comment's thread. Return to all comments →
What if you have an array
1 2 3 4 5
and the sum is5
? You will not find a solution (which is there) with this method.